Re: [platform-testers] new snapshot available: sed-4.4.104-290c

2018-03-30 Thread Paul Eggert
On 03/30/2018 07:20 AM, Nelson H. F. Beebe wrote: I just looked up that standard (page 37) and tried its several examples with /bin/sh on Solaris 10. To my surprise, some of them produced errors, and not the output shown in those examples. I then repeated the experiment with /usr/xpg4/bin/sh,

Re: [platform-testers] new snapshot available: sed-4.4.104-290c

2018-03-30 Thread Nelson H. F. Beebe
Paul Eggert writes on Tue, 27 Mar 2018 18:38:54 -0700: >> ... >> > test=${1##*/} >> > >> > I would strongly urge removal of such shell extensions. >> >> That syntax has been standard ever since POSIX formalized the shell in >> IEEE Std 1003.2-1992 (I just pulled out my trusty printed copy

Re: [platform-testers] new snapshot available: sed-4.4.104-290c

2018-03-28 Thread Bruno Haible
Hi Jim, > But that would violate my "don't use backticks" rule, of necessity, > since $(...) probably doesn't work in such an old interpreter. In my recent experience with Solaris 10, HP-UX 11.31, AIX 7, IRIX 6.5, it was only the IRIX /bin/sh that did not grok $(...). Personally I prefer

Re: [platform-testers] new snapshot available: sed-4.4.104-290c

2018-03-28 Thread Bruno Haible
Paul Eggert wrote: >+2018-03-27 Paul Eggert >+ >+ havelib: port to Solaris 10 /bin/sh >+ * m4/lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Use 'test ! EXPR' >+ instead of '! test EXPR'. >+ Thanks Paul!

Re: [platform-testers] new snapshot available: sed-4.4.104-290c

2018-03-27 Thread Jim Meyering
On Tue, Mar 27, 2018 at 6:38 PM, Paul Eggert wrote: > On 03/27/2018 05:27 PM, Nelson H. F. Beebe wrote: >> >> test=${1##*/} >> >> I would strongly urge removal of such shell extensions. > > That syntax has been standard ever since POSIX formalized the shell in IEEE >

Re: [platform-testers] new snapshot available: sed-4.4.104-290c

2018-03-27 Thread Paul Eggert
On 03/27/2018 05:27 PM, Nelson H. F. Beebe wrote: test=${1##*/} I would strongly urge removal of such shell extensions. That syntax has been standard ever since POSIX formalized the shell in IEEE Std 1003.2-1992 (I just pulled out my trusty printed copy and checked). It's a bit of a

Re: [platform-testers] new snapshot available: sed-4.4.104-290c

2018-03-24 Thread Jim Meyering
On Sat, Mar 24, 2018 at 3:53 AM, Eric Blake wrote: > On 03/23/2018 06:53 PM, Jim Meyering wrote: >> >> On Fri, Mar 23, 2018 at 4:23 PM, Assaf Gordon >> wrote: >>> >>> (adding bug-gnulib@ because of 'test-localename' failure) >>> > >>> Additionally, on

Re: [platform-testers] new snapshot available: sed-4.4.104-290c

2018-03-24 Thread Eric Blake
On 03/23/2018 06:53 PM, Jim Meyering wrote: On Fri, Mar 23, 2018 at 4:23 PM, Assaf Gordon wrote: (adding bug-gnulib@ because of 'test-localename' failure) Additionally, on Alpine linux which uses busybox's diff(1), the following fails: FAIL: test-version-etc.sh

Re: [platform-testers] new snapshot available: sed-4.4.104-290c

2018-03-23 Thread Jim Meyering
On Fri, Mar 23, 2018 at 4:23 PM, Assaf Gordon wrote: > (adding bug-gnulib@ because of 'test-localename' failure) > > Hello Jim, > > On Fri, Mar 23, 2018 at 02:15:05PM -0700, Jim Meyering wrote: >> sed snapshot: >> https://meyering.net/sed/sed-4.4.104-290c.tar.xz > > No