intent of tab-completion in /bin/sh in 9.0

Matthew Story matthewstory at gmail.com
Wed Jan 18 16:22:28 UTC 2012


Just noticed that tab-completion in /bin/sh has been added in 9.0 (verified
that it is not there in 8.0, dunno if it's there in 8.2, could probably go
digging to figure it out).  In addition to the command history via
<up>:<down> (which is present in 8.0) FreeBSD sh is now actually a pretty
usable interactive shell.  I also noticed that the following bit has been
removed from the sh(1):

 This version has many features which make it appear similar in some
respects to the Korn shell, but it is not a Korn shell clone like pdksh.

Just wondering if the general direction here is attempting to provide a
minimal POSIX shell, that is useful enough interactively to become the
default root shell (supplanting csh)?  Or if there is just a general trend
towards adopting more of the ksh feature-set.

Relatively new to list, so if this has been discussed, apologies.

-- 
regards,
matt


More information about the freebsd-hackers mailing list