Re: how to deal with file name containing spaces?



On Mon, 03 Dec 2007 11:36:00 -0500, www wrote:

But if I want to pass them to next command by using xargs, it does not work:

ls file*.txt | xargs ls -l

have you tried the xargs man page. ls file*.txt | xargs -0r ls -l
.