[jsdl-wg] jsdl specification 0.9.3. (draft 14)

Karl Czajkowski karlcz at univa.com
Thu Mar 10 07:22:48 CST 2005


> 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 at univa.com





More information about the jsdl-wg mailing list