Mail Archives: djgpp/1998/10/26/12:36:48
Thanks Oliver,
now I understand what that Unix line "#! user/bin/bash" was all
about.
Regards Ian
> ----------
> From: Olivier Perron[SMTP:perron AT art DOT alcatel DOT fr]
> Sent: Monday, October 26, 1998 11:58 AM
> To: Chapman, Ian [CAR:TM14:EXCH]
> Cc: djgpp AT delorie DOT com
> Subject: Re: Bash script
>
> 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
> > }'
> >
> >
>
- Raw text -