Thanks Carey.
> sed -e 's/^V^I//g' filename > newfile
>
> where ^V^I is Control-V, Control-I (or Control-V, Tab).
This didn't work, I suspect because of the terminal I was at at the time
(ssh under Putty)
>
> Alernatively, the tr command is closer to what you want:
>
> tr -d '\t' < filen
From: "Nick Rout" <[EMAIL PROTECTED]>
> 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"
>
> so i tried
>
> cat filename|sed -e 's/\x09//g' >newfile (hex for tab)
>
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, Cont
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"
so i tried
cat filename|sed -e 's/\x09//g' >newfile (hex for tab)
and
cat filename|sed -e 's/\011//g' >newfile (octal for t