[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: converting array to string by quoting each element for eval
From: |
Peng Yu |
Subject: |
Re: converting array to string by quoting each element for eval |
Date: |
Wed, 16 Nov 2011 09:04:50 -0600 |
> 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
- Re: converting array to string by quoting each element for eval, (continued)
- Re: converting array to string by quoting each element for eval, Peng Yu, 2011/11/15
- Re: converting array to string by quoting each element for eval, Chris F.A. Johnson, 2011/11/15
- Re: converting array to string by quoting each element for eval, Peng Yu, 2011/11/15
- Re: converting array to string by quoting each element for eval, Chris F.A. Johnson, 2011/11/15
- Re: converting array to string by quoting each element for eval, Peng Yu, 2011/11/15
- Re: converting array to string by quoting each element for eval, Chris F.A. Johnson, 2011/11/15
- Re: converting array to string by quoting each element for eval, Peng Yu, 2011/11/15
- Re: converting array to string by quoting each element for eval, Greg Wooledge, 2011/11/16
- Re: converting array to string by quoting each element for eval, Peng Yu, 2011/11/16
- Re: converting array to string by quoting each element for eval, Greg Wooledge, 2011/11/16
- Re: converting array to string by quoting each element for eval,
Peng Yu <=
- Re: converting array to string by quoting each element for eval, Peng Yu, 2011/11/16