ye ol xargs unterminated quote error, thought it was gone?

Ken Hawkins ken at broadjam.com
Fri Feb 11 20:38:24 GMT 2005


when I use the usual:

find . -type f -print | xargs grep -sl foobar

i get;

xargs unterminated quote error and have to use:

find . -type f -print | sed 's/^\(.*\)$//'\1'/' | xargs grep -sl foobar

to quote the output from find. anyone know a more elegant solution?

thoughts?

ken;



More information about the freebsd-questions mailing list