On Wed, 2007-06-27 at 11:29 -0400, Paul Smith wrote:
> 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!
>
Thanks everyone for the help! Things are working great now, and I
surely appreciate the tips and references.
Have a happy day.
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox