On Wed, 2007-06-27 at 17:08 +0200, Alexander Kriegisch wrote:
> I do not have a dedicated ash reference either, but as I am working on
> a firmware mod for a WLAN/DSL router series called "Fritz!Box" by AVM
> and always use ash, I can encourage you to refer to "man sh" on any
> Linux desktop. This is not a 100% thing, but fairly good from my
> experience. I noticed differences concerning variable substitution
> stuff like substrings - e.g. ${myvar:index} and ${myvar:index:length}
> yield errors - but I get along well enough.

The man page for sh on a GNU/Linux system is for bash.  As I mentioned
there are a LOT of features of bash that aren't supported by POSIX sh
(and hence ash).

The best thing to do is register with The Open Group, then you can read
their documentation online.

I personally always write all my programs and scripts to the POSIX
specification, for maximum portability.  If there's some advanced
feature I need that isn't provided by POSIX, only then will I carefully
venture into Linux-specific areas.

        http://www.opengroup.org/
        http://www.opengroup.org/bookstore/catalog/t041.htm
        https://www.opengroup.org/online-pubs-short?DOC=7999959899&FORM=HTML

Good luck!

-- 
-----------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>                       http://netezza.com
 "Please remain calm--I may be mad, but I am a professional."--Mad Scientist
-----------------------------------------------------------------------------
      These are my opinions--Netezza takes no responsibility for them.
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to