[Nut-upsdev] [Nut-upsuser] NUT v2.8.4 coming up

Greg Troxel gdt at lexort.com
Sat Aug 2 23:35:59 BST 2025


Jim Klimov <jimklimov+nut at gmail.com> writes:

> A solution similar to neighboring code posted as part of
> https://github.com/networkupstools/nut/pull/3042 - thanks again for raising
> this point.
>
> @Greg: can you please check that branch with pkgsrc et al?

Sure, will grab it and run it through build without pkgsrc, and then as pkgsrc.

>   Regarding `\s` - good catch, as I read your post, I was sure it is used
> all over the place... but in fact only in perl code (also Java/groovy in CI
> libs), so not quite a GNU-only extension. Native Sun and BSD sed's were
> okay with that too. Most shell code went with "[ ${TABCHAR}]" where
> TABCHAR="`printf '\t'`" because indeed many sed's or especially grep's
> treat direct `\t` as escaped character "t". Missed doing that here. Once!
> And you got me on that! :D

Perl doesn't use POSIX Regular Expressions (BRE or ERE); it uses
Perl-Compatible Regular Expressions, which is yet a third language!

And, there isn't really at this point "BSD sed".  There is a sed in each
release of each BSD, and they mostly have common ancestry, and often
improvements migrate. There's also likely "heirloom sed".

>   Regarding commentary on docs, fair enough about the configure.ac
> script, but does at least `docs/configure.txt` explain it satisfactorily?

Didn't think to look there, but will have a look.

Not a bar to release as this is not new, just newly complained about!




More information about the Nut-upsdev mailing list