dbprocs

Miquel van Smoorenburg list-inn-workers at news.cistron.nl
Sat Apr 15 02:49:11 UTC 2000


In article <cistron.ylitxkp5oy.fsf at windlord.stanford.edu>,
Russ Allbery  <rra at stanford.edu> wrote:
>Bill Davidsen <davidsen at tmr.com> writes:
>
>> Modern shells provide $(<file) so you don't need cat all the time, as
>> well.
>
>Not sure what the definition of modern shell is here.

Well it has been in Posix since 1990 IIRC. At least 1992 I'm sure.
Solaris was still called SunOS back then.

>Solaris 8 isn't out yet.
>
>epic-image:~> sh
>$ echo $(echo blah)
>syntax error: `(' unexpected
>$ uname  -a
>SunOS epic-image.Stanford.EDU 5.7 Generic_106541-09 sun4u sparc SUNW,Ultra-60
>
>That's Solaris 7.  I'd say that $() is definitely not portable.  Solaris
>(and I think rightfully so) tends not to add new features to Bourne
>shell.

No, why bother following standards that are 10 years old....

Mike.
-- 
The From: and Reply-To: addresses are internal news2mail gateway addresses.
Reply to the list or to miquels at cistron.nl (Miquel van Smoorenburg)



More information about the inn-workers mailing list