On Tue, 10 Mar 2009, Major Péter wrote:

But here is some list-related problems of mine:
ls:
If it has a null parameter e.g. in
"find blah -print0 | xargs -0 ls" find gives no hit,
the ls writes on the output (maybe on error output, I'm not sure) a message, that incorrect argumentum has camed, BUT it still writes out the content of a normal ls, and the exit status is 0. So that's why I need to check first, that the find output whether null is or not...

See the --no-run-if-empty argument to xargs.


Cheers,
Phil


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to