heya,

it's because the \101 is being interpreted by the shell as 101 before
being passed to echo.  try it with '\101' or \\101 and you should get A.


hth
        sean


On Sat, Nov 30, 2002 at 07:45:05PM +0000, Pigeon wrote:
> 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?
> 
> Pigeon
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

Attachment: msg16257/pgp00000.pgp
Description: PGP signature

Reply via email to