On May 28, 13:34, Roger Merchberger wrote:
> Rumor has it that Jules Richardson may have mentioned these words:
> >On Fri, 2004-05-28 at 16:48, Patrick Finnegan wrote:
> > > Personally, I rather be
> > > able to press <UP> than retype a 40+ character command line that
I
> > > mis-typed a single letter on.
>
> >Doesn't that particular form of simple command line editing (eg.
^a^b)
> >work in the original sh? :-)
>
> Yes, but <UP><DOWN> and tab file/command completion don't.
No, none of those exist in the original 'sh' (Bourne Shell), not even
in fairly recent varieties, such as in late-90s IRIX. However, command
line editing (using a large subset of vi commands) and command history
exist in the Korn Shell (ksh). You might have been confused by that,
since many recent UNIXes provide an "sh" as a symlink to "ksh", just as
linux provides "sh" as just a symlink to "bash".
--
Pete Peter Turnbull
Network Manager
University of York
Received on Sun May 30 2004 - 13:03:49 BST