[Gllug] shell quoting problem
Stuart Sears
stuart at sjsears.com
Wed Jul 2 10:13:15 UTC 2008
Andrew Roberts wrote:
> 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
in which case, why not
find / -name "*John Smith*" -ls
?
Works For Me (tm)
Regards,
Stuart
--
Stuart Sears RHCA etc.
"It's today!" said Piglet.
"My favourite day," said Pooh.
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list