4 ms·
What's with: # [ <-- needed because of Argbash There's also this bit: The square brackets in your script have to match (i.e. every opening square bracket
by caymanjim 4y ago
What's with:
# [ <-- needed because of Argbash
There's also this bit:
The square brackets in your script have to match (i.e. every opening square bracket [ has to be followed at some point by a closing square bracket ]).
There is a workaround — if you need constructs s.a. red=$'\e[0;91m', you can put the matching square bracket behind a comment, i.e. red=$'\e[0;91m' # match square bracket: ].
That kind of kludginess is a turn-off.
- gdevenyi 4y agoThis is because argbash is actually an m4 preprocessor, and the brackets are part of the language