From 593f0a3a0e5cbe6caecc6963b5e839592ba0360a Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Wed, 6 Nov 2024 01:37:42 -0800 Subject: [PATCH] Fix shell function example in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5b596ca8d0..a0a126b77f 100644 --- a/README.md +++ b/README.md @@ -1578,11 +1578,11 @@ file. and can be changed with `set shell := […]`. `command` is passed as the first argument, so if the command is `'echo $@'`, - the full command line, with the default shell command `shell -cu` and `args` + the full command line, with the default shell command `sh -cu` and `args` `'foo'` and `'bar'` will be: ``` - 'shell' '-cu' 'echo $@' 'echo $@' 'foo' 'bar' + 'sh' '-cu' 'echo $@' 'echo $@' 'foo' 'bar' ``` This is so that `$@` works as expected, and `$1` refers to the first