From 7919eb224a03f00118803b5fcb0efa6ddb485878 Mon Sep 17 00:00:00 2001 From: Guy Bedford Date: Fri, 15 Apr 2022 03:59:02 -0700 Subject: [PATCH] doc: note bash is used --- docs/task.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/task.md b/docs/task.md index 390936a..96dbdd6 100644 --- a/docs/task.md +++ b/docs/task.md @@ -95,7 +95,7 @@ If after completion, any of the targets defined for the task still do not exist, ### Shell Tasks -The default `engine` is the shell environment - PowerShell on Windows or `sh` on posix machines. +The default `engine` is the shell environment - PowerShell on Windows or Bash on posix machines. Common commands like `echo`, `pwd`, `cat`, `rm`, `cp`, `cd`, as well as operators like `$(cmd)`, `>`, `>>`, `|` form a subset of shared behaviours that can work when scripting between all platforms. With some care and testing, it is possible to write cross-platform shell task scripts. For PowerShell 5, Chomp will execute PowerShell in UTF-8 mode (applying to `>`, `>>` and `|`), although a BOM will still be output when writing a new file with `>`. Since `&&` and `||` are not supported in Powershell, multiline scripts and `;` are preferred instead.