Annotation of researchv8dc/cmd/sh/changes, revision 1.1.1.1

1.1       root        1: this is derived from the V.2 shell.
                      2:        all in the interests of compatibility, etc.
                      3: differences between this and V.2 shell:
                      4:        restricted shell and readonly are gone
                      5:        hash and all its implications are gone
                      6:        ^ is no longer pipe char
                      7:        MAILCHECK and MAILPATH are gone. (see below)
                      8:        * matches all files but . and ..
                      9:        <<-word is not special
                     10:        echo, pwd and test are not built in
                     11:        sys Visms such as /etc/profile and ulimit and login are gone
                     12:        type is now called whatis, and has different semantics
                     13:        whenever a name is printed with set or whatis, it is printed
                     14:                in a form that can be re-evaluated to recover original definition
                     15:        new builtin 'builtin' always executes builtin version of its first arg
                     16:                e.g.
                     17:                        builtin cd
                     18:                does a chdir regardless of any function cd() defined
                     19:        [^a-z] matches any character except a through z
                     20:                the original syntax is [!a-z].
                     21:        functions can be exported.
                     22:        "$@" turns to nothing (rather than a null string) if there are no arguments
                     23:        {} are syntactically the same as (), rather than words that are only
                     24:                recognized at the beginnings of lines
                     25:        
                     26: 
                     27: differences between this and current shell not listed above:
                     28:        functions:
                     29:                f(){
                     30:                        foo
                     31:                }
                     32:        defines f as a function that calls foo.
                     33:        unset removes function or parameter definitions
                     34:        $MAIL is checked once every three minutes, as it prints prompt
                     35:        you can redirect built-ins
                     36:        cd always cd's; there is no question asked if it corrects spelling.
                     37: the manual is /n/ikeya/usr/rob/hack/sh/sh.1
                     38: 
                     39: dec 1984:
                     40:        any char except = or ( may be in a function name
                     41:        ; means the null statement always
                     42:        set -a exports functions
                     43:        f()date>x       works
                     44:                (was a syntax error)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.