blob: 5975f7cfbe681a596c8e0a13004f37139f19970f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
grep -h '; RECEIPT: ' \
*.dat \
*/*.dat \
| sed 's,\W*; RECEIPT: ,,g' \
| tr , '\n' \
| sort -u \
| while read X
do
[ -f "$X" ] \
&& echo OK $X \
|| echo XX $X
done
|