On 27 Jan 2002 at 20:18, Dan Nelson wrote: > In the last episode (Jan 27), Dan Langille said: > > Folks: have a look at this FreshPorts shell script and let me know if > > there is a better way to do this. > > Apart from maybe using echo instead of forking 'ls', and caching the > list: > > while : ; do > FILES=`echo *` > if [ "$FILES" != "*" ] ; then > for i in $FILES ; do $HOME/scripts/test-freebsd-cvs.sh $i ; done > fi > done > > it looks fine.
Good ideas. Thanks. I'll go with that despite my being so proud of even *knowing* about xargs and wanting to use it.... -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ - practical examples To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message