[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] a file system using Chicken

From: Dan Muresan
Subject: Re: [Chicken-users] a file system using Chicken
Date: Sun, 10 Jun 2007 15:30:15 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20070509 SeaMonkey/1.1.2

Not really.  It is in the Linux world, but outside that, there are lots of
Unices that don't come with Bash.  In fact, one of the things that are most
annoying to Unix people who don't use Linux is the widespread hidden
assumption that /bin/sh points to bash.  The fact that bash doesn't act
like a POSIX shell, even in POSIX compat mode doesn't help.

Please don't assume bash is on a system if you don't have to.  Most
shellscripts can be easily rewritten to be POSIXly correct, with just
a little bit of work.  If you really have to use some more advanced
features, please consider using /bin/ksh, which is also standardized
by POSIX.  Again, many kshs deviate from the standard, so be careful
here too.

While I understand the spirit of POSIX advocacy, note that this thread is about a Linux file system. Also, care to share the concrete solution in this case? What's the POSIXly correct way to load a script in the current shell ("." or "source" in bash, neither of which works in dash)?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]