mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Remove ccc
@@ -58,4 +58,4 @@ main() {
|
|||||||
main foo aaa bbb
|
main foo aaa bbb
|
||||||
```
|
```
|
||||||
|
|
||||||
In the above example, inside the `main` function the value of `"$@"` is `( foo aaa bbb ccc )`. The value of `subcommand_"$@"` after expansion is `( subcommand_foo aaa bbb ccc )`, which the shell interprets as a call to `subcommand_foo` with parameters `aaa`, `bbb`, and `ccc`.
|
In the above example, inside the `main` function the value of `"$@"` is `( foo aaa bbb )`. The value of `subcommand_"$@"` after expansion is `( subcommand_foo aaa bbb )`, which the shell interprets as a call to `subcommand_foo` with parameters `aaa` and `bbb`.
|
Reference in New Issue
Block a user