Mail Archives: cygwin/1998/09/26/04:30:29
>Below is an example of a script that doesn't work on NT (with cygwin32, and
>correctly telling it to use bash as the shell), but worked fine on Unix.
>
>Any help would be much appreciated.
>
>-Eric
>
>Eric DOT Engberg AT nextcard DOT com
>
>#!/bin/csh
>#
># lst2xlt
># General sed script to tab-delimit SAS output (for import to Excel)
Well, the first line causes KSH / BASH, et. al. to try to run the C
Shell instead
of anything you have. C Shell was never meant to be used for scripting;
I mean
scripts were always to be written in Bourne shell because you *knew*
you'd
always have Bourne.
Get the Z Shell (ZSH) for UNIX. It will compile under CYGWIN32 (with
only a
missing #define; make up a value for it). ZSH knows KSH / BASH / CSH /
BOURNE
all at once.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -