Date: Fri, 19 May 2006 00:00:37 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 705 ************************************************** Thursday 18 May 2006 Number 705 ************************************************** Subjects for today 1 Re: AWK script : Steven Levine" **= Email 1 ==========================** Date: Wed, 17 May 2006 09:32:10 -0700 From: "Steven Levine" Subject: Re: AWK script In <20060517082313.Q46 at warpix.org>, on 05/17/06 at 08:23 AM, John Poltorak said: >I was thinking of cmd.exe and don't know how to incorporate quotes when >quotes are actually included in the script itself. Well, it does help to understand how the various shells handle quoting. You had awk -F';' '{for(i=2;i$1}' This may work for cmd.exe awk -F";" "{for(i=2;i$1}" but I would not guarantee it. It this fails, you need to use a decent shell or use Steve's suggestion and put the script in a file. You could also rewrite the script in REXX, but it's going to require more than a single line of code. Regards, Steven -- ---------------------------------------------------------------------- "Steven Levine" MR2/ICE 2.67 #10183 Warp/eCS/DIY/14.103a_W4 www.scoug.com irc.fyrelizard.com #scoug (Wed 7pm PST) ----------------------------------------------------------------------