Interactive /bin/sh
Warren Block
wblock at wonkity.com
Mon Dec 16 01:00:39 UTC 2013
On Sun, 15 Dec 2013, Ian Lepore wrote:
>> If just those 2 features would be implemented, I would be completely into /bin/sh
>
> An alternate viewpoint: I would prefer that /bin/sh remain as lean and
> mean as possible, conforming to posix and especially NOT becoming
> bloated with interactive usability stuff. If you want a user-friendly
> bourne shell and can afford the memory and cycle bloat, use bash.
An alternate, alternate viewpoint: the code that keeps the command
history is already there, adding code that searches through it for
completion would probably not make it significantly larger. So the cost
is small.
If people want to use it as their main shell, that's fine. Personally,
I would just like it to make things easier and faster when only sh is
available. The command history was a good step in that direction.
More information about the freebsd-hackers
mailing list