On Tuesday 10 March 2009 07:42:29 Angel Tsankov wrote:
> I want to pass the output from one command (e.g. find) to some other
> command so that each path (output by the first command) gets into a
> distinct positional parameter of the second command.  How can I do this if
> some paths contain spaces?

use the -print0 option with find and pipe it into xargs with the -0 option

find . -print0 | xargs -0 ls
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to