special character in UNIX

Posted by Happy Mittal on Stack Overflow See other posts from Stack Overflow or by Happy Mittal
Published on 2010-04-15T11:22:27Z Indexed on 2010/04/15 11:23 UTC
Read the original article Hit count: 291

Filed under:
|
|

I want to add backspace character literally in my file named junk. So I did following
$ ed
a
my name is happy\b (here b means I typed backspace so \ gets disapperaed and cursor sits sfter y)
.
w junk
q

But when I do
$ od -cb junk
it doesn't show backspace.

© Stack Overflow or respective owner

Related posts about special

Related posts about character