www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/15/06:30:49

Date: Fri, 15 Jun 2001 12:29:14 +0200
From: "H.Merijn Brand" <h DOT m DOT brand AT hccnet DOT nl>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Subject: Re: Gnu compiler for Perl
Cc: djgpp AT delorie DOT com, "Mark E." <snowball3 AT bigfoot DOT com>
In-Reply-To: <2110-Thu14Jun2001190959+0300-eliz@is.elta.co.il>
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>
X-Mailer-Plugin: Cliche Inserter for Becky!2 Ver.0.03 Rev.0
Message-Id: <20010615122256.F00F.H.M.BRAND@hccnet.nl>
MIME-Version: 1.0
X-Mailer: Becky! ver. 2.00.07
X-Hops: 1
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

On Thu 14 Jun 2001 18:10, "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote:
> > Date: Thu, 14 Jun 2001 16:03:56 +0200
> > From: "H.Merijn Brand" <h DOT m DOT brand AT hccnet DOT nl>
> > 
> > I just did. (And also submitted a patch to change '>/dev/null', '>
> > /dev/null', '>>/dev/null' and '>> /dev/null' all to '>>/dev/null'
> > for consistency) 
> > 
> > For the moment it passes all /dev/null issues, but now croacks on
> > touch and tr issues. Should I persue or wait for possible bash
> > changes?
> 
> 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

C:\Util\Perl\PERL-5~1.1>

> Mark, could you please see what does Bash do with "> /dev/null" that
> it doesn't do with ">> /dev/null"?  I don't understand why one works
> while the other doesn't; the suggestion to use >> was a hunch (I've
> seen similar problems with PRN on other versions of Windows, even
> under COMMAND.COM).

-- 
H.Merijn Brand    Amsterdam Perl Mongers (http://www.amsterdam.pm.org/)
using perl-5.6.1, 5.7.1 & 626 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
     WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.022 &/| DBD-Unify
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/

- Raw text -


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