bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting weird output out of 'echo' w/args


From: Linda Walsh
Subject: Re: getting weird output out of 'echo' w/args
Date: Wed, 29 May 2013 18:42:43 -0700
User-agent: Thunderbird


Chet Ramey wrote:
> On 5/29/13 9:08 PM, Linda Walsh wrote:
>> Why would I get this:
>>
>>> echo "gtk-2.0/2.10.0/engines/liboxygen-gtk.so 
>>> [u::rwx,u:law:rwx,g::r-x,m::rwx,o::r-x]"
>> gtk-2.0/2.10.0/engines/liboxygen-gtk.so 
>> [u::rwx,u:law:rwx,g::r-x,m::rwx,o::r-x]
>>
>>> echo gtk-2.0/2.10.0/engines/liboxygen-gtk.so 
>>> [u::rwx,u:law:rwx,g::r-x,m::rwx,o::r-x]
>> gtk-2.0/2.10.0/engines/liboxygen-gtk.so s
>>
>> ^^--so why doesn't it echo out it's input arguments? Where did the acl go?
>> into 's'?  ;-/
> 
> Are you familiar with filename generation, commonly known as `globbing'?
> 


Are you saying it took bracketed thing as a gorup of chars to match?
oh... and the r-x was a range that picked up a singled file 's'... ARG!...
oi oi oi...

Thanks -- I was hoping it has some simple explanation that I just wasn't seeing.
(I was only thinking of escape sequences...)...

Cheers!
Linda



reply via email to

[Prev in Thread] Current Thread [Next in Thread]