| delorie.com/archives/browse.cgi | search |
| Date: | Mon, 26 Oct 1998 17:58:14 +0100 (MET) |
| From: | Olivier Perron <perron AT art DOT alcatel DOT fr> |
| X-Sender: | perron AT rtbsci146s |
| To: | Ian Chapman <Ian DOT Chapman DOT ichapman AT nt DOT com> |
| Cc: | "djgpp AT delorie DOT com" <djgpp AT delorie DOT com> |
| Subject: | Re: Bash script |
| In-Reply-To: | <915C65C50371D11187AD0000F881B9A401858CEF@bcarua62.ca.nortel.com> |
| Message-Id: | <Pine.GSO.4.05.9810261752160.23088-100000@rtbsci146s> |
| Mime-Version: | 1.0 |
| 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
> }'
>
>
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |