How to use angle brackets in the command line arguments?
问题 How to use an angle brackets in command line arguments? Suppose the input is: filename -w <input.txt> Here input.txt is a second command line argument, and it is an input file to a program here input.txt must be enclosed by angle brackets( <input.txt> ) . But if I use angular brackets i m getting error. error is : sh: -c: line 0: syntax error near unexpected token `newline' sh: -c: line 0: `demo -w ' 回答1: Your question is not very clear. However, it seems to me a shell problem, not a Tcl one.