www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/14/10:15:37

Date: Thu, 14 Jun 2001 16:03:56 +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
In-Reply-To: <Pine.SUN.3.91.1010614160710.6496A@is>
References: <20010614145506 DOT EFE4 DOT H DOT M DOT BRAND AT hccnet DOT nl> <Pine DOT SUN DOT 3 DOT 91 DOT 1010614160710 DOT 6496A AT is>
X-Mailer-Plugin: Cliche Inserter for Becky!2 Ver.0.03 Rev.0
Message-Id: <20010614160042.EFE9.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 15:08, Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
> 
> On Thu, 14 Jun 2001, H.Merijn Brand wrote:
> 
> > > Does a simple "echo foo > /dev/null" fails as well?  How about 
> > > "echo foo >> /dev/null"?
> > > 
> > > If it does, please write a short test program that does imilar things, 
> > > and step into the I/O functions with a debugger.  We must understand 
> > > what's wrong there to devise a solution or a work-around.
> > 
> > C:\Tmp> sh
> > sh-2.03$ echo Help
> > Help
> > sh-2.03$ echo Help >/dev/null
> > sh: /dev/null: Permission denied (EACCESS)
> > sh-2.03$ echo Help >>/dev/null
> 
> So, what happens if you edit Configure and replace all ">" with ">>" when 
> the target is /dev/null?  Does the script succeed to run then?

I can read your mind!

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? (This takes a lot of
time, which - as usual - I'm not overloaded with)

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