Sha256: fd4bed93fd054a6eefd03d3896b8805f30443e17f7a4b81cf4063cc8fef4c2bc

Contents?: true

Size: 403 Bytes

Versions: 2

Compression:

Stored size: 403 Bytes

Contents

# Copyright: 2016 Masatake YAMATO
# License: GPL-2
CTAGS=$1

if ! sort --help | grep --quiet GNU; then
    echo "GNU sort is needed to run this test case"
    exit 77
fi

list_languages()
{
    ${CTAGS} --quiet --options=NONE --list-languages
}

list_languages > ./ll.tmp
list_languages | sort --ignore-case > ./sorted-ll.tmp
diff -uN ./ll.tmp ./sorted-ll.tmp
r=$?
rm ./ll.tmp ./sorted-ll.tmp
exit $r


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ctags.rb-1.1.4 ext/vendor/ctags/Tmain/sorted-list-languages.d/run.sh
ctags.rb-1.1.3 ext/vendor/ctags/Tmain/sorted-list-languages.d/run.sh