goodier
Wed Aug 20 00:28:00 PDT 2008
I want to replace one file's tab with 4 spaces. I use MKS sed command:
c:\> sed 's/\t/ /g' a.txt
But \t in sed match character 't' instead of tab.
If I edit a bat file
sed 's/tab key/ /g' a.txt
It works. It would be convenient if I insert tab directly in command line.
"news.microsoft.com" wrote:
> Hi!
>
> Normally you can use escape codes, try usin "\t". Any way if you could
> provide with further info we will be able to help better.
>
> Best.
> --
> Juan E. Gómez
>
http://www.juanen.com
> MCP 70-282/290/291
>
> "goodier" <goodier@discussions.microsoft.com> escribió en el mensaje de
> noticias:9644E18B-F0A0-41EE-BA0E-6E219AF0FC86@microsoft.com...
> > How to insert tab in command line?
> > When I press tab, it will be in command completion mode, and tab will be
> > converted to some files or commands.
> > But I do not want to disable command completion mode, I just want to
> > insert
> > tab occasionally.
> >
> > Thanks
>
>