Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o, "Robin H. Johnson" <robbat2@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH] ecompress: fix "Argument list too long" for sed (bug 727522)
Date: Thu, 25 Jun 2020 00:01:34
Message-Id: f2bc772d-905b-21d7-fd9d-3c528a1bc439@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] ecompress: fix "Argument list too long" for sed (bug 727522) by "Robin H. Johnson"
1 On 6/24/20 10:57 AM, Robin H. Johnson wrote:
2 > On Tue, Jun 23, 2020 at 05:36:14PM -0700, Zac Medico wrote:
3 >> From: Patrick McLean <chutzpah@g.o>
4 >>
5 >> Use sed -f to feed commands to sed via stdin, in order to avoid
6 >> the "Argument list too long" error reported in bug 727522.
7 > Will this need to move to a tempfile in the near future, for the size of
8 > sed_args? Maybe do that work now?
9
10 Yeah sure. I'm thinking that sort + comm are ideal for this type of
11 operation in shell code.
12 --
13 Thanks,
14 Zac

Attachments

File name MIME type
signature.asc application/pgp-signature