Thank you, Bill Joy!
Ray Lubinsky
rwl at uvacs.CS.VIRGINIA.EDU
Thu Sep 1 10:47:06 AEST 1988
In article <2323 at munnari.oz>, kre at munnari.oz (Robert Elz) writes:
> What is needed is a way to do
>
> ls /a >/tmp/file
> ls /b | comm - !$
> or
> echo old*
> rm !$
>
> neither of which will do anything like what you want if you replace
> csh with ksh and !$ with $_
Jeez! Use the bleeding edit mode in Korn shell!
Using vi-style command line editing I can modify previous commands like you've
shown in at least the amount of time you can do it with csh's !$ construct AND
I get the visual reassurance of seeing what the newly-edited command is really
going to be.
Csh history editing mechanism is a pitiful kludge compared to actually EDITING
your past commands. (I cut my teeth on csh so its not that I haven't seen
both sides of the UNIX shell fence.) Hunt-and-peck typists need not apply.
--
| Ray Lubinsky, UUCP: ...!uunet!virginia!uvacs!rwl |
| Department of BITNET: rwl8y at virginia |
| Computer Science, CSNET: rwl at cs.virginia.edu -OR- |
| University of Virginia rwl%uvacs at uvaarpa.virginia.edu |
More information about the Comp.unix.wizards
mailing list