Subject: Re: should we replace the shell?
To: J.T. Conklin <jtc@cygnus.com>
From: John Brezak <brezak@apollo.hp.com>
List: tech-userlevel
Date: 12/08/1994 07:20:17
> >>>>> "Jason" == Jason Downs <downsj@CSOS.ORST.EDU> writes:
> 
> Jason> one of things i would point out, though, is that ``old timer''
> Jason> ksh users tend to *really* dislike pdksh, because it misses
> Jason> several features from ksh. (such as [[ ]] style constructs, at
> Jason> least in the version i tried.)  so, something you might
> Jason> consider is taking pdksh and filling in the missing pieces.
> 
> I don't know all the ksh features you missed, but I know that [[ ]]
> was added to pdksh 5.1.  
> 
> The NOTES files included in the release contains the following list of
> features that are not yet implemented:
>     - exported aliases.
>     - exported functions.
>     - set -t.
>     - signals/traps not cleared during functions.
>     - trap DEBUG, local ERR and EXIT traps in functions.
>     - ERRNO, LINENO, LINES parameters.
>     - cd/pwd doesn't have -L or -P options (not all at&t ksh's have this).
>     - extended file globbing/pattern matching (ei, [?*+@!](pattern list)).
>       Also, doesn't have posix file globbing (eg, [[:alpha:]], etc.)
>     - use of an `agent' to execute unreadable/setuid/setgid shell scripts
>       (don't ask).
> 
> Are any of them particularly important?
> 
> 	--jtc

I would really like to see ${##} and ${%%} so I don't have to hack my .profile
for NetBSD - sigh. Also bracepat expansion - {foo,bar,baz} is good.

If pdksh groks my .profile and .kshrc better that ash then I say "Make it 
so"...

BTW- My dot files can be found on sun-lamp:~brezak ...


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 John Brezak                    UUCP:     uunet!apollo.hp!brezak
 Hewlett Packard/Apollo         Internet: brezak@ch.hp.com
 300 Apollo Drive               Phone:    (508) 436-4915
 Chelmsford, Massachusetts      Fax:      (508) 436-5140