> And that is enough of this nonsense.  I have cited three official manuals
> for you already.  Let's move on.

I don't get it. Do you mean both traditional getopt and Debian getopt
are broken. To me it seems that Debian getopt is made to address the
short coming of transitional getopt. Yet you still think Debian getopt
is broken?

> Now that we know the goal, it's simple enough:

No. That is not my goal. It is just a simplification of my goal. It is
really hard to enumerate all the possible use cases, but I will try.

In additional to the use cases I stated in the previous email, let's
consider some more:

 ./myscript 'a b' 'c d' -o output.txt -type f -name '*'

or

 ./myscript 'a b' 'c d' -output output.txt -type f -name '*'

or

 ./myscript -output output.txt -type f -name '*' 'a b' 'c d'

or

 ./myscript -type f -name '*' 'a b' -output output.txt  'c d'

is equivalent

 find 'a b' 'a d' -maxdepth 1 -type f -name '*' > output.txt


-- 
Regards,
Peng

Reply via email to