This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: Trouble passing args, & where is 'more'
- To: "'gnu-win32 at cygnus dot com'" <gnu-win32 at cygnus dot com>, "'Eric Engberg'" <eric dot engberg at nextcard dot com>
- Subject: RE: Trouble passing args, & where is 'more'
- From: TOMMY REYNOLDS <tommy dot reynolds at adtran dot com>
- Date: Fri, 25 Sep 1998 13:17:43 -0500
>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.Engberg@nextcard.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@cygnus.com" with one line of text: "help".