1# Copyright: 2019 Masatake YAMATO 2# License: GPL-2 3 4CTAGS=$1 5 6. ../utils.sh 7 8run() 9{ 10 echo '#' 11 echo '#' with $1 12 echo '#' 13 14 echo "# Universal-ctags output format" 15 $CTAGS --options=NONE --options=./foo.ctags "$1" --output-format=u-ctags -o - input.foo 16 17 echo "# Exuberant-ctags output format" 18 echo "# 'a' has a tab char in fprop fields. So ctags drops it silent." 19 $CTAGS --options=NONE --options=./foo.ctags "$1" --output-format=e-ctags -o - input.foo 20} 21 22run "--sort=yes" 23run "--sort=no" 24