Follow-up Comment #22, bug #58206 (project groff):

And here's an example of it failing on an earlier version of macOS.  (As you
note, there's no way to glean the version of sed, but it's the stock one
bundled with OS X 10.11.6.)

$ uname -a
Darwin Ignatius 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT
2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64 i386
$ sed --version # reveal non-GNU sed
sed: illegal option -- -
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file
...]
$ echo foo | sed 's/foo/&\nbar/'
foonbar




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58206>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to