Re: now a sed query

2002-01-20 Thread Nick Rout
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

Re: now a sed query

2002-01-20 Thread Paul Wilkins
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) >

Re: now a sed query

2002-01-20 Thread Carey Evans
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

now a sed query

2002-01-20 Thread Nick Rout
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