Debian Codegraph @

ctags/Tmain/readtags-qualifier-nth-field.d/run.sh

raw symbols SCIP
1 #!/bin/sh
2
3 # Copyright: 2016 Masatake YAMATO
4 # License: GPL-2
5
6 READTAGS=$3
7
8 . ../utils.sh
9
10 #V="valgrind --leak-check=full -v"
11 V=
12
13 if ! [ -x "${READTAGS}" ]; then
14 skip "no readtags"
15 fi
16
17 if ! ( "${READTAGS}" -h | grep -q -e -Q ); then
18 skip "no qualifier function in readtags"
19 fi
20
21 ${V} ${READTAGS} -e -t output.tags \
22 -Q '(eq? $kind "z")' \
23 -S '(<> $nth &nth)' \
24 -F '(list $name ":" $nth #t)' \
25 -l