[lug] Bash While Loop Error

SoloCDM deedsmis at aculink.net
Thu Nov 30 10:22:51 MST 2000


Tkil stated the following:
> 
> um.  why not just:
> 
>    find / -xdev -fstype ext2 -type f -print | \
>       grep -vi game
> 
> doing the combination of "read" with an immediate "echo" should be the
> same as just passing it straight through, no?
> 
> also, what's your motivation behind the "?n" weirdness with your print
> statement?
> 
> finally, note that many linux boxes are set up with "locate" turned on
> by default.  doing a "locate game" might be all you need to do, and it
> should be much faster than doing the find.  hm... it doesn't do case-
> insensitive searches, tho, so...

The script is only indicative of an elaborate script I have created,
which requires nested loops.  It is mandatory that the script have
loops to process more elaborate schemes.

Note: When you reply to this message, please include
      the mailing list and my email address.

*********************************************************************
Signed,
SoloCDM




More information about the LUG mailing list