diff options
author | adamsrl <rladams@adamsinfoserv.com> | 2012-08-22 18:27:23 -0500 |
---|---|---|
committer | adamsrl <rladams@adamsinfoserv.com> | 2012-08-22 18:27:23 -0500 |
commit | 6de14e08677f6cb0c10c9d34c3024918bf979d68 (patch) | |
tree | cbc9b87ce831ac9282149724494c52e11c8c0e10 /contrib/raw/VerifyImages.sh | |
parent | f01e09e5196127fa12e7291f3fc029ffa99eaef8 (diff) | |
download | fork-ledger-6de14e08677f6cb0c10c9d34c3024918bf979d68.tar.gz fork-ledger-6de14e08677f6cb0c10c9d34c3024918bf979d68.tar.bz2 fork-ledger-6de14e08677f6cb0c10c9d34c3024918bf979d68.zip |
Added raw copies of my custom ledger scripts and elisp additions. Next need to isolate features and make them more generic for reuse by other Ledger users.
Diffstat (limited to 'contrib/raw/VerifyImages.sh')
-rwxr-xr-x | contrib/raw/VerifyImages.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/raw/VerifyImages.sh b/contrib/raw/VerifyImages.sh new file mode 100755 index 00000000..5975f7cf --- /dev/null +++ b/contrib/raw/VerifyImages.sh @@ -0,0 +1,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 |