Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site cbosgd.UUCP Path: utzoo!watmath!clyde!cbosgd!mark From: mark@cbosgd.UUCP (Mark Horton) Newsgroups: net.followup,net.unix Subject: ksh features - correction Message-ID: <972@cbosgd.UUCP> Date: Sun, 17-Mar-85 02:33:07 EST Article-I.D.: cbosgd.972 Posted: Sun Mar 17 02:33:07 1985 Date-Received: Mon, 18-Mar-85 01:11:15 EST References: <10005@ulysses.UUCP> <15757@mgweed.UUCP> Organization: Bell Labs, Columbus Lines: 22 Xref: watmath net.followup:4668 net.unix:3956 It has been pointed out to me that the Korn shell has two features that I gave the impression are not there. (I thought they weren't, but I've tried it and they are indeed there.) There is a similar feature to csh's !$ (get the last argument to the previous command.) It's ESC _ from vi, ESC . from emacs. There is also a tcsh-like escape recognition feature. Typing ESC * from either mode is similar to typing ESC in tcsh, it expands what you partially typed. It also seems to do neat things if you glob: if a*b matches a1b, a2b, and a3b, you can type echo a*bESC* and it will expand, right there on the command line, echo a1b a2b a3b So the major thing to be aware of that you might not like is that the history mechanism is quite different in flavor from that of csh, and you might not be able to use it to save keystrokes as effectively. In any case you'll have to learn a different mechanism. Overall, however, I'd have to rate ksh an excellent program. Mark