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

Re: dysfunctional echo escape



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

-- 
Bill Moseley
mailto:moseley@hank.org



Reply to: