busybox sed not POSIX-conforming? (was: groff 1.25.0.rc2 on Alpine Linux)
"G. Branden Robinson via busybox" <[email protected]>
| Newsgroups | gmane.linux.busybox,gmane.comp.printing.groff.general |
|---|---|
| Message-ID | <20260807023033.nl4wt67fgjnol2jw@illithid> |
[looping in busybox mailing list; Bruno found a sed portability problem] Background: https://savannah.gnu.org/bugs/?68601 Hi Bruno, At 2026-08-06T18:07:55+0200, Bruno Haible wrote: > I wrote: > > The reason is that the 'sed' program on this platform (from BusyBox) > > ignores '-e' options when a '-f' option is present, regardless > > whether the '-e' options come before or after the '-f' option. > > Addendum: This is not the case in general, but is the case with this > particular '-f' script and these particular '-e' options. I didn't experiment to determine the issue, but the following change in wording from POSIX Issue 4 to Issue 8 might account for the discrepancy. Issue 4: −f script_file Add the editing commands in the file script_file to the end of the script. Issue 8: −f script_file Add the editing commands in the file script_file to the end of the script of editing commands. I wonder what alternative script the Busybox developers have in mind. Regards, Branden _______________________________________________ busybox mailing list [email protected] https://lists.busybox.net/mailman/listinfo/busybox
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmp1Q0IACgkQ0Z6cfXEm bc6urg//Z0Id7wLcnyKmbrfjGjDF1p816PWfHKuKT0A0Bunx6BSyZcPD/MlQtxtR JnG73Lhs5tYVB0pSVPNNvIlMjYmC+GVJ7xksRiHMH5Um5ZT7e1l8UYv9gOEE6iaK UWFkJhoE0P25/qOXz4Dk2PC+Wqa8lR5xpAZcXLD2GvXUL0rpRWaNnR++c2C7qANt VgaPKDiOvQflyJMshXkGpw1kR+uLNa8SQKcsG4WhQ+97HXibJfv3AImlvnudczHe ldnbJIjBDRmdCPEirnl3TpKQR1sY9HPNXaVO//LhtBJrvIKcMF1xEcBChGRT90S0 uY5HiRmAmM6vG1nu3sOr5dA8KmUQ0nk387e7/p1mmVr0Xri2kTlqX2kuZJCKVJ6s 46XT1Kq/aFtSGSlPAiHPfoJBslX6OgwcDB007+85yqPl56QJN/YXC+f/8uLR1KRV fPMsvx7ldpMN0tn7ADLRd7TYxVxRSQzWXxFspV6pm0U/uIHI3TzjV3gxsyuqcRQa CbsI5teeIBqeiN4T69pRGDp1W/eXUY8R0fsHVktMJCfooQPmJWV8cXvtY2IVv4nq V9GEkffHanFXFxot3TDJ/6BLcFi9m4ujJFC8YHj/aklruzbDmZwD/0rkapk7j+8X PwJv4JuuUXJvOaOkBfRA3ufrjzUd/SoGB2WooARsm6zXnilEpJE= =xYBB -----END PGP SIGNATURE-----