xref: /Universal-ctags/Tmain/option-extras-enabling-all.d/run.sh (revision e7b4c9403b6113a7008c1f479abc6745d0a2a3ae)
1#!/bin/sh
2# Copyright: 2017 Masatake YAMATO
3# License: GPL-2
4
5CTAGS=$1
6
7. ../utils.sh
8
9column_for_enabled=
10
11if ! column_for_enabled=$(get_column_index $CTAGS --list-extras "ENABLED"); then
12	exit $?
13fi
14
15$CTAGS --quiet --options=NONE --extras-all= \
16	   --with-list-header=no --list-extras \
17	| filter_by_column_index $column_for_enabled | sort | uniq
18$CTAGS --quiet --options=NONE --extras-all='*' \
19	   --with-list-header=no --list-extras \
20	| filter_by_column_index $column_for_enabled | sort | uniq
21