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

Re: Outputting tabs with sed



"Oliver Elphick" <olly@lfix.co.uk> writes:

> In message <[🔎] Pine.LNX.3.96.970806230711.374B-100000@localhost>, 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.

        Torsten

-- 
"What a depressingly stupid machine"
                              The Restaurant at the End of the Universe
PGP Public Key is available


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: