
10 Mar
2005
10 Mar
'05
1:19 p.m.
On 10 Mar 2005, at 12:46, Karl Czajkowski wrote:
On Mar 10, Michel Drescher loaded a tape reading:
[...]
I do not understand this. Empty strings are valid arguments on many platforms, so no collapsing should be possible. In other words:
<Arguments> <Argument>arg1</Argument> </Arguments>
and
<Arguments> <Argument>arg1</Argument> <Argument></Argument> <Argument/> </Arguments>
can not be considered equivalent! The first corresponds to a shell syntax like:
some-program "arg1"
while the second is:
some-program "arg1" "" ""
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. Cheers, Michel