In message <[EMAIL PROTECTED]>, writes:
  >
  > How can I output tabs with sed?
  >
  > I need something like: `s/<insert tab here>/\t'
 
In theory, sed -e 's/<insert tab here>/ /'
                                       ^
                                       |
                                       tab char

should work, but it doesn't. I think that bash gets in the way when you
do it from the command line.

However, it works if you put the sed instruction in a file and use

   sed -f sedfile


-- 
Oliver Elphick                                [EMAIL PROTECTED]
Isle of Wight                                  http://lfix.co.uk/oliver

     Make it idiot-proof, and someone will breed a better idiot.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to