cat myfliecat: myflie: No such file or directory %
Obviously, this doesn't save much typing for a short command, but it can sure be
handy with a long one.
I also use
to recall an
earlier command so I can change it. For example:
!m:pmore gobbledygook.c %
The point is sometimes not to save typing, but to save the effort of remembering. For example, I want to print the file I looked at earlier, but don't remember the exact name...
[My keyboard can repeat characters when I'm not expecting it.
I use a single
^ to delete extra characters.
lpr sources/aproggg.clpr: sources/aproggg.c: no such file or directory %
You could type
^gg^, but the second caret isn't required.
With a single caret, you don't type a replacement string - just the
string to delete. -JP]