Peng Yu wrote:

> Is there a way to configure bash such
> that there is not a limit like this?
> 
> /bin/bash: Argument list too long

bash is not to blame - it reports an error message from the kernel.
You seem to have called bash (or some other command?) with too many
arguments, exceeding your kernel limit.

There are several solutions, depending on how you may call your command
several times, what tools you have available, and if speed is important.
Each solution has advantages and drawbacks.

The keyword for this limit, ARG_MAX, may point you to a solutions, e.g.,
 http://www.in-ulm.de/~mascheck/various/argmax/
 http://mywiki.wooledge.org/BashFAQ/095
 http://partmaps.org/era/unix/arg-max.html


Reply via email to