Re: [PATCH] ecompress: fix "Argument list too long" for sed (bug 727522)

Zac Medico <[email protected]>
Newsgroups gmane.linux.gentoo.portage.devel
Message-ID <[email protected]>
On 6/24/20 10:57 AM, Robin H. Johnson wrote:
> On Tue, Jun 23, 2020 at 05:36:14PM -0700, Zac Medico wrote:
>> From: Patrick McLean <[email protected]>
>>
>> Use sed -f to feed commands to sed via stdin, in order to avoid
>> the "Argument list too long" error reported in bug 727522.
> Will this need to move to a tempfile in the near future, for the size of
> sed_args? Maybe do that work now?

Yeah sure. I'm thinking that sort + comm are ideal for this type of
operation in shell code.
-- 
Thanks,
Zac
signature.asc (application/pgp-signature, 981 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQKTBAEBCgB9FiEE8OgXaltWzqgSupCu0HX7jBBKPSAFAl7z6VJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEYw
RTgxNzZBNUI1NkNFQTgxMkJBOTBBRUQwNzVGQjhDMTA0QTNEMjAACgkQ0HX7jBBK
PSB/yhAAjAKlH53/ENs2BCGTc79uZrjuKp3NYoTeM5wqH/yOi6L7zhvD5k2qjIgV
lZw+bq3VVb1y3TFjyv0eVqh91qVVxDWWU5jBWQLd7pO7ezbrz+T6g/B2sX05GWzJ
6dm0LHaORQO92T1THYlaITTr9jq6c/vL73u3MEOwdvvv1il/WPfhGW0CQ5doPNvg
3C48xyZEitzNbmbRzFi5a1eGDicE7UEBOBIN2pLY4uG2xdG9tRD8gpzqcrVpiCAl
4Jpx+1+bNP/iLE73SgST2oxzmagMBvsrILtXRhxRJWpn7yKr9eYlhEaDsLSzrWQB
VVEnGbPqbpZ4iqyNIz0jt8C9MiRnZ8y03JxGQWDTqGXtVrJBzaieY0a2GMZmrSRg
WtOwMvrvwfyn5n30LjR9pP1jel8G+kwiwNE+kDVa+EhDhc0+zrbLj0du8UHXH/7e
vHE5JMBLtxazS8O9PttmElmi6yiOQ+3G3zyEZaB9V/qu+/jDg1qOVHEoMYH+g6B1
NGUQScxzQhXG1pVsfYWcjQiDI9YXPDZghhaCGiBRaR3Vwlm22ILVLmHl0EDX0Tvl
d5hC1E5xIr3+PCimYzuRGc6wS5b38ffoK+XW08XV4mbGXXgnl1l9dXM+r7FhvSX6
ZHHBBSZA459fMTAFnzHLIpAO1ti2q7F4Igy9pRK+1/3C1F8Ldto=
=U9/t
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.