On Sun, Feb 27, 2011 at 10:53:44PM -0600, Boyd Stephen Smith Jr. wrote:
>
> Bash is not adding quotes.[1] It is failing to remove them. If you really
> want to understand what is happening, install the susv2 or susv3 packages
> from contrib and read the section "Shell Command Language". Parti
In <20110228004108.GA3922@playground>, Mike McClain wrote:
>On Sun, Feb 27, 2011 at 12:45:27PM -0600, Boyd Stephen Smith Jr. wrote:
>> In <20110225222127.GA1996@playground>, Mike McClain wrote:
>> >This only bites me once in a while but when it does it can be very
>> >frustrating so any hints / tip
On Sun, Feb 27, 2011 at 12:45:27PM -0600, Boyd Stephen Smith Jr. wrote:
> In <20110225222127.GA1996@playground>, Mike McClain wrote:
> >This only bites me once in a while but when it does it can be very
> >frustrating so any hints / tips are welcome.
>
> FOO="stuff 'with' qu\"otes"
> echo $FOO
> e
In <20110225222127.GA1996@playground>, Mike McClain wrote:
>This only bites me once in a while but when it does it can be very
>frustrating so any hints / tips are welcome.
FOO="stuff 'with' qu\"otes"
echo $FOO
echo stuff 'with' qu\"otes
Yes, quote removal happens after parameter expansion, but i
On 25.02.2011 23:21, Mike McClain wrote:
I occasionally have problems with bash variables, for instance
the following command lists (along with everything else)
2 *.deb files in /home/mike/
root@/deb40a:~> FIND1="-maxdepth 1 -type f -print -name '*'"; \
GREP="-v '\.\(deb\|gz\|tgz\|bz2\|t
* 2011-02-27 09:12 (+0200), Teemu Likonen wrote:
> * 2011-02-25 14:21 (-0800), Mike McClain wrote:
>> root@/deb40a:~> FIND1="-maxdepth 1 -type f -print -name '*'"; \
>> GREP="-v '\.\(deb\|gz\|tgz\|bz2\|tbz\|zip\)$'"; \
>> find /home/mike/ $FIND1 | grep $GREP ;
> Try removing the single q
* 2011-02-25 14:21 (-0800), Mike McClain wrote:
> I occasionally have problems with bash variables, for instance the
> following command lists (along with everything else) 2 *.deb files in
> /home/mike/
>
> root@/deb40a:~> FIND1="-maxdepth 1 -type f -print -name '*'"; \
> GREP="-v '\.\(deb\|gz
On Sat, Feb 26, 2011 at 03:18:43PM +, T o n g wrote:
> On Fri, 25 Feb 2011 14:21:27 -0800, Mike McClain wrote:
>
> > the following command lists (along with everything else)
> > 2 *.deb files in /home/mike/
> >
> > root@/deb40a:~> FIND1="-maxdepth 1 -type f -print -name '*'"; \
> > GREP=
On Fri, 25 Feb 2011 14:21:27 -0800, Mike McClain wrote:
> the following command lists (along with everything else)
> 2 *.deb files in /home/mike/
>
> root@/deb40a:~> FIND1="-maxdepth 1 -type f -print -name '*'"; \
> GREP="-v '\.\(deb\|gz\|tgz\|bz2\|tbz\|zip\)$'"; \ find /home/mike/
> $FI
Hi Mike,
Please add OT to subject ;-)
On Fri, Feb 25, 2011 at 11:21 PM, Mike McClain wrote:
> I occasionally have problems with bash variables, for instance
> the following command lists (along with everything else)
> 2 *.deb files in /home/mike/
>
> root@/deb40a:~> FIND1="-maxdepth 1 -type f -
10 matches
Mail list logo