Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^4: UNIX command - remove 0 byte fileby mhacker (Sexton) |
on Sep 23, 2005 at 12:55 UTC ( [id://494510]=note: print w/replies, xml ) | Need Help?? |
Actually, xargs is supposed to handle that. It will break the command line when it gets too long (1024 words, I think) and run the command again.
But the most annoying thing with xargs is that it doesn't handle spaces or other special characters well: You're forced to do tricks with sed (or perl -e) to get this to work.
In Section
Seekers of Perl Wisdom
|
|