mark@cbosgd.UUCP (Mark Horton) (03/17/85)
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