www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/15/08:55:38

Date: Fri, 15 Jun 2001 15:53:05 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: h DOT m DOT brand AT hccnet DOT nl
Message-Id: <6503-Fri15Jun2001155304+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com, snowball3 AT bigfoot DOT com
In-reply-to: <20010615122256.F00F.H.M.BRAND@hccnet.nl>
Subject: Re: Gnu compiler for Perl
References: <20010614160042 DOT EFE9 DOT H DOT M DOT BRAND AT hccnet DOT nl> <2110-Thu14Jun2001190959+0300-eliz AT is DOT elta DOT co DOT il> <20010615122256 DOT F00F DOT H DOT M DOT BRAND AT hccnet DOT nl>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Fri, 15 Jun 2001 12:29:14 +0200
> From: "H.Merijn Brand" <h DOT m DOT brand AT hccnet DOT nl>
> > 
> > I don't expect problems with `tr' and `touch' to be Bash issues.  So
> > please try to investigate them if you have time.  Thanks.
> 
> tr might probably be a bash problem too. The perl Configuration creates a new
> script like:
> 
> C:\Util\Perl\PERL-5~1.1> sh
> sh-2.04$ cat UU/tr
> #!c:/util/djgpp/bin//sh
> case "$1$2" in
> '[A-Z][a-z]') exec c:/util/djgpp/bin//tr.exe '[:upper:]' '[:lower:]';;
> '[a-z][A-Z]') exec c:/util/djgpp/bin//tr.exe '[:lower:]' '[:upper:]';;
> esac
> exec c:/util/djgpp/bin//tr.exe "$@"
> sh-2.04$ cat UU/tr | tr A a
> #!c:/util/djgpp/bin//sh
> case "$1$2" in
> '[a-Z][a-z]') exec c:/util/djgpp/bin//tr.exe '[:upper:]' '[:lower:]';;
> '[a-z][a-Z]') exec c:/util/djgpp/bin//tr.exe '[:lower:]' '[:upper:]';;
> esac
> sh-2.04$ cat UU/tr | UU/tr A a

So, what are the problems with that?  Does this script run?

And why do I see so many double slashes, like this:

  #!c:/util/djgpp/bin//sh

- Raw text -


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