Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2005 15:38:00 -0500
From:      Ken Hawkins <ken@broadjam.com>
To:        <freebsd-questions@freebsd.org> <freebsd-questions@freebsd.org> <freebsd-questions@freebsd.org>
Subject:   ye ol xargs unterminated quote error, thought it was gone?
Message-ID:  <fccd6b7a6cc882d5c123bb7d0f7c7953@broadjam.com>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fccd6b7a6cc882d5c123bb7d0f7c7953>