On Sat, Nov 30, 2002 at 12:15:58PM -0800, Bill Moseley wrote:
> At 07:45 PM 11/30/02 +0000, Pigeon wrote:
> >Hi,
> >
> >man bash (bash-2.01) tells me that echo -e \nnn where nnn is an
> >octal number should output the character whose ASCII code is nnn.
> >
> >So, I should get:
> >$ builtin echo -e \101
> >A
> >$
> >
> >I don't. I get:
> >$ builtin echo -e \101
> >101
> >$
> >
> >Why?
> 
> The shell is getting in the way of the shell:
> 
> > echo -e 'hello\101there'                        
> helloAthere
> 
> > echo -e hello\101there  
> hello101there

Wheee! Thanks. I keep forgetting how many levels of interpretation go
on. Nice one.

Pigeon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to