diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/examine_p_files.sh')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/examine_p_files.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/examine_p_files.sh b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/examine_p_files.sh new file mode 100644 index 00000000..327f755b --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/examine_p_files.sh @@ -0,0 +1,15 @@ +# 28. 5.2022 +# +# Guy Maurel +# +#sh generate_p_files.sh +# +P_FILES="../build/P-files" +# +cd ${P_FILES} +grep "BRACED_INIT_LIST" * | grep -v CT_BRACED_INIT_LIST | grep -v _INCLUDED > BRACED_INIT_LIST_found_list.txt +# split with : to get the filenames only +gawk -f ../../tests/BRACED_INIT_LIST_found_list.awk < BRACED_INIT_LIST_found_list.txt > BRACED_INIT_LIST_only_FN.txt +set -x +sort BRACED_INIT_LIST_only_FN.txt > BRACED_INIT_LIST_sorted.txt +uniq BRACED_INIT_LIST_sorted.txt > BRACED_INIT_LIST_uniq.txt |