Closed huntzhan closed 9 years ago
Situation like this:
➜ cpptest export TEST='t tt ttt' ➜ cpptest ./a.out '1 2 $TEST' 1 2 $TEST ➜ cpptest ./a.out "1 2 $TEST" 1 2 t tt ttt ➜ cpptest
Since ' and " would be removed by shell, the program should detect quoted unit by detecting internal whitespaces.
'
"
Situation like this:
Since
'
and"
would be removed by shell, the program should detect quoted unit by detecting internal whitespaces.