xref: /Universal-ctags/Tmain/xformat-common-fields.d/run.sh (revision c88e59d96c3c11b3b0567c1979488710b635791e)
1# Copyright: 2016 Masatake YAMATO
2# License: GPL-2
3
4CTAGS=$1
5
6${CTAGS} --quiet --options=NONE --list-fields | while read K REST; do
7    if ! [ "$K" = '-' ]; then
8	echo "field: $K"
9	${CTAGS} --quiet --options=NONE -x --_xformat="output: %N %${K}" -o - input.py
10	echo "status: $?"
11	echo
12    fi
13done
14