Nick Rout <[EMAIL PROTECTED]> writes:

> I figured to get all thew annoying tab characters out of a file, all I
> needed to do was
> 
> cat filename|sed -e 's/\t//g' >newfile
> 
> but this just strips out the letter "t"

[...]

  sed -e 's/^V^I//g' filename > newfile

where ^V^I is Control-V, Control-I (or Control-V, Tab).

Alernatively, the tr command is closer to what you want:

  tr -d '\t' < filename > newfile

-- 
         Carey Evans  http://home.clear.net.nz/pages/c.evans/

                             Cavem canus.

Reply via email to