Bob Proulx wrote:
> Philippe Grégoire wrote:
> > If I type the command '/usr/bin/printf "hi\b"', the result is as
> > expected -- "h" without a newline character.
> 
> Actually it is "hi\b".  It isn't "h".
> 
>   $ printf "hi\b\n" | od -tx1 -c
>   0000000 68 69 08 0a
>           h   i  \b  \n

Oops.  Cut-n-paste error.  Obviously I meant to say:

  $ printf "hi\b" | od -tx1 -c
  0000000 68 69 08
          h   i  \b

That didn't change anything else however.

Bob



Reply via email to