On Thu, 2003-05-29 at 13:31, bob parker wrote: > I'm using Woody with Gnu sed version 3.02 (the default). > > I want to be able to insert tab chars into the output lines eg > > sed = somefile | sed 'N;s/\n/\t/' > > just gives me the literal 't' immediately following the number at the start > of each line. > > Attempting to actually type a tab key in the place of the '\t' in the > replacement string just has the xterm barfing and I get the same result if I > log on in a real terminal. So does attempting to insert Ctrl-I. > > Is there some way of inserting the tab in octal or hex? > > TIA > Bob Parker -- This worked for me: echo -e "abc\tdef" echo -e "abc\tdef"|sed 's/\t/x/' -Kev -- Kevin Mark <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part