*FLAWED* Re: busybox sed, 'r' command

Mike Frysinger vapier at gentoo.org
Thu Mar 24 00:52:58 UTC 2016


busybox generally follows a pretty simple flow:
(1) is the behavior you're looking at explicitly documented by POSIX ?
    if yes, then do what POSIX says & you're done
(2) is the behavior described as "implementation defined" by POSIX ?
    if yes, do whatever produces smaller code
(3) is the behavior attempting to replicate another standard (e.g. GNU) ?
    is it behavior the standard explicitly documents ?
    if yes, do what the replicated standard does

otherwise, if it's an edge case no one cares about, stick to small code.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20160323/01cb7620/attachment-0001.asc>


More information about the busybox mailing list