[Gllug] Pipe question
Tom Schutzer-Weissmann
trmsw at yahoo.co.uk
Sun Jan 22 22:36:31 UTC 2006
On Sun, 2006-01-22 at 19:17 +0000, Ben Fitzgerald wrote:
> $ for x in `locate mysharedobject.so`; do ls -lia $x ;done
If there were spaces in the lines returned by locate this would bork, so
don't forget to temporarily set IFS to only include a linebreak:
~$ IFS='
>'
cheers
Tom
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list