[ale] Bash question: | in find

Marvin Dickens mpdickens at tlanta.com
Thu Jan 23 19:31:00 EST 2003


On Fri, 2003-01-24 at 05:06, Geoffrey wrote:

> for fn in $(find /cdrom/slackware -name '*.tgz' -print); do
> 	echo -n $fn " "
> 	tar tvzf $fn '*libXaw3d*' 2>/dev/null
> done |grep Xaw3d

I never knew 'tar' could emulate a 'grep'. No text files written to
disk: I like this.


Best

Marvin Dickens

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list