I need to use the features of GNU sed, instead of the built-in version under Solaris 10.

Which GNU package contains it? I don't see it listed in the coreutils, and my Google searches haven't helped pinpoint it.

  • sunfreeware.com – Patrick Jul 22 '14 at 21:22
  • 1
    it actually is a rare thing that you do need to use the GNU features - they're almost all just shortcuts. A better way to address the problem might be writing more portable sed scripts. The most notable exception, though, involves multibyte characters in non-ASCII locales. – mikeserv Jul 22 '14 at 21:22

GNU sed is bundled with releases newer than Solaris 10. Otherwise, you can easily build it from source or retrieve it from opencsw or other freeware repositories.

Solaris 10 packages are listed in this pdf: http://docs.oracle.com/cd/E19253-01/pdf/817-0545.pdf

  • Thanks! One search I did - Where can I get sed - obviously thought 'sed' was a typo – Randall Jul 23 '14 at 16:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.