public
Created

Simple Haskell tags generator

  • Download Gist
regenerate-haskell-tag.sh
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/bash
#
# Regenerates Haskell tags in the current directory.
#
 
set -e
 
# Needed for case-sensitive searching. See:
#
# - Sort Files Like A Master With The Linux Sort Command (Bash)
# http://www.skorks.com/2010/05/sort-files-like-a-master-with-the-linux-sort-command-bash/
#
export LC_ALL=C
 
find -type f | egrep \.hs$\|\.lhs$ | xargs -Ii hothasktags i | sort > tags

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.