I have a script which partitions a large set of files into sets of approx. equal (byte) size and then executes a command for each of the sets using system. The problem I have now is that sometimes even the subsets are so large that I exceed the max. number of arguments the shell supports. I'd like to change this, but I can't find out what the max number of arguments is! Is there any variable / function / module to get this information?
OK, so this is more of a shell question than a perl question, but anyway....
Thanks,
pike
P.S.: I have to keep track how many commands I submitted, so using xargs is not an option...
In reply to max number of arguments by pike
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |