[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Argument list too long (how to remove the limit)
From: |
Jon Seymour |
Subject: |
Re: Argument list too long (how to remove the limit) |
Date: |
Tue, 26 Jan 2010 11:34:54 +1100 |
If you can, it is better to restructure what you want to do by passing the
arguments to the target command on stdin, rather than on the command line. I
realise that this may not be possible in all cases, but it is generally the
preferred approach if you can achieve it.
The advantage is that your resulting script will work with all bash
instances irrespective of what the argument limit on the particular bash
instance you are presented with is.
jon.
On Tue, Jan 26, 2010 at 11:03 AM, Peng Yu <pengyu.ut@gmail.com> wrote:
> I got the following message. Is there a way to configure bash such
> that there is not a limit like this?
>
> /bin/bash: Argument list too long
>
>
>