From: tommy DOT reynolds AT adtran DOT com (TOMMY REYNOLDS) Subject: RE: Trouble passing args, & where is 'more' 26 Sep 1998 04:30:29 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "'gnu-win32 AT cygnus DOT com'" , "'Eric Engberg'" >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".