| 1 | #!/usr/bin/env bash |
| 2 | # |
| 3 | # NOTE: The error message is different at interactive prompt: |
| 4 | # |
| 5 | # $ foo (ls) |
| 6 | # -bash: syntax error near unexpected token `LC_COLLATE=C' |
| 7 | # |
| 8 | # vs. |
| 9 | # |
| 10 | # bash: line 1: syntax error near unexpected token `ls' |
| 11 | # |
| 12 | # Does -bash: mean interactive? Grep the source. |
| 13 | |
| 14 | # Used to be foo (ls) but that is now a typed arg list |
| 15 | foo (,) |
| 16 |