I am trying to cut a specific column from a piece of text that I get
as an output through piping. I know that in Linux the "cut" command
does the trick but I do not know what is the command for that in DOS
or if I can do it in dos command line. It would be great if anyone
can
help me in this.
The command is as follows:
type abc.txt | find "Hello" | (I don't know what command to use to
cut
a specific column)
Thanks in advance
Regards,
Ameya
You can get ports of SED and AWK in Windows as well as linux tools using CGYWIN
>I am trying to cut a specific column from a piece of text that I get
>as an output through piping. I know that in Linux the "cut" command
>does the trick but I do not know what is the command for that in DOS
>or if I can do it in dos command line. It would be great if anyone
COLS, via sig line 3, should easily do it.
--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk DOS 3.3, 6.20; WinXP.
Web <URL:http://www.merlyn.demon.co.uk/> - FAQqish topics, acronyms & links.
PAS EXE TXT ZIP via <URL:http://www.merlyn.demon.co.uk/programs/00index.htm>
My DOS <URL:http://www.merlyn.demon.co.uk/batfiles.htm> - also batprogs.htm.
Hello Everyone,
Thank you for your replies. I have downloaded Cygwin and it works
great.
Regards,
Ameya