This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Permissions


> 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

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]