home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / usr.bin / lisp / lispnews / text0026.txt < prev    next >
Encoding:
Text File  |  1985-11-10  |  457 b   |  20 lines

  1.   We also use vi style tags so emacs users and vi users can share the same
  2. tags file.  Rather than modify ctags, we use this shell script:
  3.  
  4. #!/bin/csh 
  5. # make a tags file for lisp source files.
  6. # use:
  7. #    lisptags foo.l bar.l baz.l ... bof.l
  8. # generate the file 'tags'
  9. #
  10. awk -f /usr/local/lib/ltags $* | sort > tags
  11.  
  12.  
  13. where the file /usr/local/lib/ltags is
  14.  
  15. /^\(DEF/    { print $2 "    " FILENAME "    ?^" $0 "$?" }
  16. /^\(def/    { print $2 "    " FILENAME "    ?^" $0 "$?" }
  17.  
  18.  
  19.  
  20.