
10 Mar
2005
10 Mar
'05
1:22 p.m.
Karl,
do you have examples for me? I never saw programs that take empty command line arguments, so I did not consider this being a use case at all.
It's part of the POSIX and Unix models, so I don't see the need for a use case. It would be bizarre to not be able to express what argc/argv can express. Here are examples of the echo command properly interpreting empty strings which it concatenates into a space-separated list of all the arguments: moraine::karlcz[~] echo a b c a b c moraine::karlcz[~] echo a "" b c a b c moraine::karlcz[~] echo a "" "" b c a b c moraine::karlcz[~] echo a "" "" "" b c a b c karl -- Karl Czajkowski karlcz@univa.com