[Gllug] Stories of using filters

Christian Smith csmith at micromuse.com
Thu Mar 24 15:38:22 UTC 2005


On Mon, 21 Mar 2005, Nix wrote:

>On Fri, 18 Mar 2005, Tethys stated:
>>>You probably also want to read the chapter `Portable Shell Programming'
>>>in the Autoconf manual, particularly the bit on `Limitations of Shell
>>>Builtins'
>>
>> Agreed wholeheartedly. They tend towards the excessively paranoid when
>> it comes to portability (which coming from me is saying something), but
>
>That's understandable given their intended users --- configure scripts
>had *better* be portable.
>
>Some of the constraints in there (e.g. `no functions') are only of use
>with 1980-vintage shells, which seems insane until you realise that Sun,
>for one, was shipping such a shell as /bin/sh until *very* recently.

Solaris /bin/sh sucks ass, but it has supported functions since at least
2.5.1. That's the earliest Solaris release I have access to, and it's
nearly ten years old?

But it's true, anything in /bin or /usr/bin is of real vintage on Solaris.
/usr/bin/awk isn't even nawk compatible, which is why I always put
/usr/xpg4/bin first in my PATH on Solaris.

Christian

-- 
    /"\
    \ /    ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
     X                           - AGAINST MS ATTACHMENTS
    / \
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list