delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/26/04:30:29

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: <c=US%a=_%p=ADTRAN%l=SRV-EXCHANGE-980925181743Z-51934.cygnus.gnu-win32@srv-exchange.adtran.com>
Mime-Version: 1.0
To: "'gnu-win32 AT cygnus DOT com'" <gnu-win32 AT cygnus DOT com>,
"'Eric Engberg'"
<eric DOT engberg AT nextcard DOT com>

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


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019