I'm using a program designed for windows that I compiled myself for GNU/linux. The program works in the command line, and one argument looks like this:
prgm -arg1 abcd(10)(22) -i files.ext
Where (10)
and (22)
are flags like a
, b
, c
and d
. This command is failing because bash
tries to interpret stuff inside()
and has a syntax error. So, I have two questions:
- What bash is actually trying to do with the parenthesis in this case? Why is it failing?
- I can change the source code, such as when the program recognizes another symbol. For example, I could use a curly brace instead of a parenthesis. What symbol would be safe?