LWN.net Logo

Has anyone considered extending dash?

Has anyone considered extending dash?

Posted Aug 8, 2009 11:30 UTC (Sat) by marcH (subscriber, #57642)
In reply to: Has anyone considered extending dash? by fbriere
Parent article: A tale of two shells: bash or dash

> The bash(1) manpage doesn't state which features are standard and which are not,

I never use the Bash's man page. Bash's info manual has a "Features found only in Bash" section and is much better generally speaking. If, like many other people you dislike the basic info reader there are a number of alternatives like for instance "yelp info:bash"

> and the standard itself is not always easy to find (or read, for that matter).

Every time I have a doubt about standard conformance I just google for "opengroup + sh-keyword" and most of the time I just land automagically on a page that answers my doubt. In the worst cases the answer is only a few further clicks away.


(Log in to post comments)

Has anyone considered extending dash?

Posted Aug 13, 2009 17:23 UTC (Thu) by fbriere (subscriber, #4961) [Link]

> Bash's info manual has a "Features found only in Bash" section and is much better generally speaking.

Thanks, that's good to know. (Looking at it, I believe I might have erroneously used pushd/popd myself.)

However, it appears to be a list of generic features, so it's far from a thorough list. While the "Bash POSIX Mode" subsection goes into more detail, I didn't see any mention of, for example, bash-specific expansion patterns like ${foo/bar/baz}.

> Every time I have a doubt about standard conformance I just google for "opengroup + sh-keyword"

Unfortunately, bash (like Perl) has gobs of Google-unfriendly concepts. (Searching the standard for "." was fun...)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds