tree-sitter-bash/script/update-known-failures.sh

6 lines
179 B
Bash
Executable File

#!/bin/bash
tree-sitter parse $(find examples/bash-it -name '*.bash' -or -name '*.sh') -q -t \
| egrep 'ERROR|undefined' \
| tee >(cut -d' ' -f1 > script/known-failures.txt)