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

6 lines
179 B
Bash
Raw Normal View History

2018-03-01 21:30:24 +00:00
#!/bin/bash
tree-sitter parse $(find examples/bash-it -name '*.bash' -or -name '*.sh') -q -t \
| egrep 'ERROR|undefined' \
2018-03-01 22:04:29 +00:00
| tee >(cut -d' ' -f1 > script/known-failures.txt)