Re: Inserting a into sed's replacement string

2003-06-04 Thread bob parker
On Fri, 30 May 2003 17:16, Vineet Kumar wrote: > > 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. > > Try typing ctrl-v before

Re: Inserting a into sed's replacement string

2003-06-01 Thread Bob Proulx
bob parker wrote: > 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. > [...] > Is there some way of inserting the tab in octal or hex? This comes up peri

Re: Inserting a into sed's replacement string

2003-05-30 Thread Kevin Mark
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

Re: Inserting a into sed's replacement string

2003-05-30 Thread Vineet Kumar
* bob parker ([EMAIL PROTECTED]) [030529 10:54]: > 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 >

RE: Inserting a into sed's replacement string

2003-05-30 Thread Reckhard, Tobias
> 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. I haven't tried this in sed, but with "echo -e", you need to escape the backslash as well, so