bug-coreutils
[Top][All Lists]
Advanced

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

bug#10620: Improper handling of newline characters


From: Bob Proulx
Subject: bug#10620: Improper handling of newline characters
Date: Fri, 27 Jan 2012 03:12:12 -0700
User-agent: Mutt/1.5.18 (2008-05-17)

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

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