I have been looking at sed to insert non-printable characters into text files.  
The sed(1) manpage states that I should be  able to insert octal values by 
preceding the three character octal value with a backslash.  However, my foo 
apparently isn't strong enough.  eg.

$ cat file
first line
second line FF
third line
fourth line FF
$ sed 's!FF$!\f!' file > output
$ cat output
first line
second line FF
third line
fourth line FF
$ sed 's!FF!\014!' file > output
$ cat output
first line
second line 014
third line
fourth line 014

How am I misinterpreting how octal values can be inserted?

Reply via email to