Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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.

share|improve this question
    
sunfreeware.com –  Patrick Jul 22 at 21:22
    
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 at 21:22

1 Answer 1

up vote 4 down vote accepted

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

share|improve this answer
    
Thanks! One search I did - Where can I get sed - obviously thought 'sed' was a typo –  Randall Jul 23 at 16:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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