Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Simple Haskell tags generator

View regenerate-haskell-tag.sh
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/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
 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.