root/bin/count_error_rows @ 10002
1 |
#!/bin/sh
|
---|---|
2 |
# Counts distinct rows with errors in `map` error messages
|
3 |
# Usage: self {input...|<input}
|
4 |
|
5 |
grep --extended-regexp "row #: .* [0-9]+" "$@"|uniq|wc -l |