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

8 lines
185 B
Bash
Executable File

#!/bin/bash
tree-sitter parse -q -t \
examples/**/*.sh \
examples/**/*.bash \
| egrep 'ERROR|MISSING' \
| tee >(cut -d' ' -f1 | sort > script/known-failures.txt)