This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Trouble passing args, & where is 'more'


>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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]