In message <[EMAIL PROTECTED]>, writes: >"Oliver Elphick" <olly@lfix.co.uk> writes: > >> 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. > >Remember to quote the tab pressing Ctrl-V prior while inserting it. >Maybe this the reason for the sed command not working in the command >line. > Yes, that works. I hadn't known that bash supported ctrl-v as an escape character.
-- 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] .