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
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
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
* 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
>
> 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
5 matches
Mail list logo