chiark / gitweb /
Minor tweaks.
authorColin Watson <cjwatson@chiark.greenend.org.uk>
Tue, 10 Sep 2002 10:28:02 +0000 (10:28 +0000)
committerColin Watson <cjwatson@chiark.greenend.org.uk>
Tue, 10 Sep 2002 10:28:02 +0000 (10:28 +0000)
build-sig

index 3e46ad9..6230dcd 100755 (executable)
--- a/build-sig
+++ b/build-sig
@@ -1,8 +1,8 @@
-#!/bin/sh
+#! /bin/sh
 
 for s in $(find ~/.signatures -mindepth 2 -path '*/old/*' -prune -o \
                               -type f ! -name '*.dat' ! -name static -print | \
            sort); do
-  strfile $s
-done | perl -ne \
-       '$s += $1 if /There.*?([0-9]+)/; print; END { print "Total: $s\n"; }'
+  strfile "$s"
+done | perl -pe \
+       '$s += $1 if /There.*?([0-9]+)/; END { print "Total: $s\n"; }'