Date: Mon, 26 Oct 1998 17:58:14 +0100 (MET) From: Olivier Perron X-Sender: perron AT rtbsci146s To: Ian Chapman Cc: "djgpp AT delorie DOT com" Subject: Re: Bash script In-Reply-To: <915C65C50371D11187AD0000F881B9A401858CEF@bcarua62.ca.nortel.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Mon, 26 Oct 1998, Ian Chapman wrote: [...] > > #! e:/djgpp/bin ~~~~~~~~~~~~~~~~ Shouldn't it be #!e:/djgpp/bin/sh ? (If you made a copy of bash.exe to sh.exe, otherwise it should be #!e:/djgpp/bin/bash.exe) You didn't mention the full path name to the shell executable wich will process your script. I think that may be your problem. > awk -F, '{ > print $4 ", "$0 > }' $* | > sort | > awk -F, ' > $1 == LastState { > print "\t" $2 > } > $1 != LastState { > LastState =$1 > print $1 > print "\t" $2 > }' > >