cgname - collect file names from {e,f,}grep output
Derek E. Terveer
det at hawkmoon.MN.ORG
Wed Jun 28 16:40:47 AEST 1989
In article <929 at sering.cwi.nl>, fmr at cwi.nl (Frank Rahmani) writes:
> #!/bin/sh
> fgrep $1 *.[ch] | cut -d: -f1 | sort | uniq > /tmp/123 ; e +/$1 `cat /tmp/123`
This seems kind of long....
> 'E' is an interface for vi (was posted on comp.sources.unix) that
> maintains durable history files in the directory where 'e' was started.
One very easy way of remembering the last set of files edited by vi (NOT
serveral sets, but just the last one) is to use the ksh alias:
alias e=". /usr/local/e"
where /usr/local/e (for example) is:
vi $*
--
Derek Terveer det at hawkmoon.MN.ORG || ..!uunet!rosevax!elric!hawkmoon!det
w(612)681-6986 h(612)688-0667
"A proper king is crowned" -- Thomas B. Costain
More information about the Alt.sources
mailing list