Skip to content

Instantly share code, notes, and snippets.

@kanej
Created January 29, 2011 21:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kanej/802196 to your computer and use it in GitHub Desktop.
Save kanej/802196 to your computer and use it in GitHub Desktop.
Awk program to create a ctags file from a clojure file. Use: >awk -f clj-to-ctags ./src/core/*.clj
/defn/ { print $2 "\t./" FILENAME "\t:" FNR }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment