Updated SC2145 (markdown)

jzinn
2018-06-04 21:43:17 -07:00
parent ad41991bff
commit 453ab353ab

@@ -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 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`.