Does anyone have experience in generating tags for j scripts?  I tried
the jtags from juggle home but the format of output is different from
that of ctags. Or does anyone know how to setup langmap for j in .ctags?


# jtags from juggle home
-------------8<------------------------
#!/bin/sh

dir="$1"
: "${dir:=.}"

cd "$dir"
find . -name '*.ijs' -print | xargs awk '
/^[a-zA-Z][a-zA-Z0-9_]*[        ]*=:/ {
        print
        tag=$0; sub (/[         =].*/, "", tag)
        printf ("%s\t%s\t/^%s$/\n", tag, FILENAME, $0)
}' | sort > TAGS
-------------8<------------------------

-- 
regards, ==================================================== GPG
key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net
--recv-keys 4434BAB3 唐詩137 劉長卿  新年作 鄉心新歲切  天畔獨潸然
老至居人下  春歸在客先 嶺猿同旦暮  江柳共風煙  已似長沙傅  從今又幾年
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to