On 2012-04-25, at 1:48 AM, Oliver Kiddle wrote:

> The stuff in /usr/xpg4/bin would be POSIX compliant but frankly, it is
> easier to adjust scripts to work with Solaris' /bin/sh (as David has now
> done) than to have it dig around trying to find the POSIX stuff.

It's more than just sh, though.  The grep, sed, and awk in /bin are all very 
broken compared to modern (post 1985) variants. The xpg4 test is pretty simple 
– if /usr/xpg4/bin exists, put it in front of $PATH and forget about writing 
Solaris workarounds.  This is how I've been dealing with Solaris for well over 
a decade, and it Just Works.

--lyndon


_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to