Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Some versions of xargs don't respect the shell's max argument length, so on older platforms (MacOS X 10.4 sticks out in my memory) it's easy to cause xargs to try invoking with a longer command line than permitted.

This is fixed with the `-n` argument to xargs, which lets you specify the number of arguments per invocation.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: