Skip to content

Conversation

@alarixnia
Copy link

Issue #102

# Use native nawk and sed if available on newer illumos.
/usr/bin/nawk --version 2>/dev/null | grep "awk version " >/dev/null
if [ $? -eq 0 ]; then
if [ -x "/usr/bin/nawk" ]; then
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not 100% sure this is correct, fuzzy memory says there was a nawk on Solaris 9 that pointed to the XPG4 awk which was unsufficient in some way. I don't recall all of the details as this was over 20 years ago now, but it's possible this was due to some of the tricker parts of the wrappers which are now somewhat obsolete with cwrappers (though are still used in bootstrap).

I guess it depends on if we want to keep supporting Solaris 9 and older.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not 100% sure this is correct, fuzzy memory says there was a nawk on Solaris 9 that pointed to the XPG4 awk which was unsufficient in some way. I don't recall all of the details as this was over 20 years ago now, but it's possible this was due to some of the tricker parts of the wrappers which are now somewhat obsolete with cwrappers (though are still used in bootstrap).

It seems to point to XPG4 awk on Solaris 10 too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants