bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH 1/2] maint.mk: Split long argument lists


From: Bruno Haible
Subject: Re: [PATCH 1/2] maint.mk: Split long argument lists
Date: Sun, 02 Dec 2018 13:29:48 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-138-generic; KDE/5.18.0; x86_64; ; )

Hi Roman,

> May I ask you to review what way we should go with ARG_MAX?
> 
> I'm okay with both ways whether it's:
>  * computing effective argument length and passing it to "-s" option;
>  * or exploiting behaviour of GNU/BSD xargs and specifying "-n" beyond
>    the limit.

Use the approach that makes the least undocumented assumptions. In other
words, rely on what the documentation says and on nothing else. The
relevant documentation here is POSIX [1].

Bruno

[1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/xargs.html




reply via email to

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