BASH 4.0 Has Been Released

D. Hugh Redelmeier hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org
Mon Feb 23 22:01:53 UTC 2009


| From: Michael Lauzon <mlauzon-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>

| http://tiswww.case.edu/php/chet/bash/bashtop.html

Thanks for the news.

Odd new features:

d.  There is a new `autocd' option that, when enabled, causes bash to attempt
    to `cd' to a directory name that is supplied as the first word of a
    simple command.

h.  If creation of a child process fails due to insufficient resources, bash
    will try again several times before reporting failure.

w.  There is a new shell option: `globstar'.  When enabled, the globbing code
    treats `**' specially -- it matches all directories (and files within
    them, when appropriate) recursively.

    [I proposed this syntax and semantics over 20 years ago.  Smart folks
    said that this gets messy when symlinks are used.]

ee. The new `;&' case statement action list terminator causes execution to
    continue with the action associated with the next pattern in the
    statement rather than terminating the command.

ff. The new `;;&' case statement action list terminator causes the shell to
    test the next set of patterns after completing execution of the current
    action, rather than terminating the command.
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list