Permissions
Parker, Ron
rdparker@butlermfg.com
Thu Jun 8 11:51:00 GMT 2000
> 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
More information about the Cygwin
mailing list