Paul Eggert wrote:
> For now, though, it's better not to use the undocumented var.

Definitely, yes.
The role of 'atlocal.in' is documented, so we can use that.
as_nl is not documented, so we shouldn't use it.

And probably it won't be documented, because POSIX now supports writing
$'\n' without need for a variable [1], and while not all shells support this
yet, those which don't ([2], column 12) will vanish over time.

Bruno

[1] 
https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/utilities/V3_chap02.html#tag_19_02_04
[2] 
https://gitweb.git.savannah.gnu.org/gitweb/?p=gnulib/maint-tools.git;a=blob;f=test-programs/sh-features;h=787580a5c4172df94f0edb1647542a6b0b8387e8;hb=HEAD




Reply via email to