[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lisp tags
- To: UCBKIM.franz-friends@Berkeley
- Subject: lisp tags
- From: UCBKIM.jkf@Berkeley
- Date: Tue, 20 Oct 82 01:54:02 GMT
- Original-date: 19-Oct-82 18:54:02-PDT (Tue)
We also use vi style tags so emacs users and vi users can share the same
tags file. Rather than modify ctags, we use this shell script:
#!/bin/csh
# make a tags file for lisp source files.
# use:
# lisptags foo.l bar.l baz.l ... bof.l
# generate the file 'tags'
#
awk -f /usr/local/lib/ltags $* | sort > tags
where the file /usr/local/lib/ltags is
/^\(DEF/ { print $2 " " FILENAME " ?^" $0 "$?" }
/^\(def/ { print $2 " " FILENAME " ?^" $0 "$?" }