[ale] xargs problems

Wandered Inn esoteric at denali.atlnet.com
Mon May 21 21:25:20 EDT 2001


Ken Nagorski wrote:
> 
> Hi there,
> 
>         I have this problem with xargs... I know this has worked. I have
> used it before.
> 
> root# find . -type f -print | xargs grep -v /web/sites/
> xargs: unmatched single quote
> Broken pipe

I suspect you're finding a file that contains a single quote in the
name. Try something like:

find . -type f -printf "\"%p\"\n" |xargs grep -v /web/sites/

> 
> Thanks
> Ken
> 
> --
>  I couldn't quite remember what I was going to say
>          so I causally took another sip of whatever it was I was drinking,
> 
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.

--
Until later: Geoffrey		esoteric at denali.atlnet.com

"Great spirits have always found violent opposition from mediocre minds.
The
latter cannot understand it when a man does not thoughtlessly submit to
hereditary prejudices but honestly and courageously uses his
intelligence."
- Albert Einstein
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list