3 ms·
$ echo "(" '"("' ( "(" "(" the argument is ( '"("' the argument is "(" When you inspect argv in your program, you will see the argument including the
by rascul 4y ago
$ echo "(" '"("'
( "("
"(" the argument is (
'"("' the argument is "("
When you inspect argv in your program, you will see the argument including the quotes in the second example.
- Sophira 4y agoAh yes, that's what I meant by putting the argument in single quotes. I thought you were saying that the statement 'In both cases, they get the string “(“ in argv.' wasn't necessarily true. My apologies!