delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/08/14:53:41

Message-Id: <200006081853.OAA20378@delorie.com>
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Parker, Ron" <rdparker AT butlermfg DOT com>
To: mvdv AT bigfoot DOT com, Cygwin <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: Permissions
Date: Thu, 8 Jun 2000 13:49:43 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

------_=_NextPart_000_01BFD17A.6F917172
Content-Type: text/plain;
	charset="iso-8859-1"

> why does this work OK
> 
> /usr/bin
> bash-2.04$ sed -n 'p' /usr/info/time.info
> 
> < ... output omitted .... >
> 
> but this not work:
> 
> bash-2.04$ for FI in `ls /usr/info/*.info`; do  sed -n 'p' $FI; done
> sed: can't read /usr/info/autoconf.info: No such file or directory

It must be something in your configuration.  It runs just fine on my
machine.  To quote Ernie, "The output from cygcheck -s -v -r might be useful
in this case."

Just a note on your script fragment.  the 'ls' is not needed.  The following
will work as well:

	for FI in /usr/info/*.info; do  sed -n 'p' $FI; done


------_=_NextPart_000_01BFD17A.6F917172
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
------_=_NextPart_000_01BFD17A.6F917172--

- Raw text -


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