[Gllug] shell quoting problem
Andrew Roberts
ar at nooneishere.co.uk
Wed Jul 2 10:01:33 UTC 2008
On 02/07/2008, Andy Millar <andy at andymillar.co.uk> wrote:
> ls -l `find / -name "*John Smith*"`
>
> I'm not sure if this is any nicer than your current solution.
It has the same problem with regards to spaces. This might work better:
find / -name "*John Smith*" -print0 | xargs -0 ls -l
Regards,
Andrew.
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list