bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Argument list too long (how to remove the limit)


From: Sven Mascheck
Subject: Re: Argument list too long (how to remove the limit)
Date: Tue, 26 Jan 2010 01:50:30 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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

[Prev in Thread] Current Thread [Next in Thread]