From 3f5411d8579463cfb3e89c2aef032aa1bb0dbe3a Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 10 Sep 2002 10:28:02 +0000 Subject: [PATCH] Minor tweaks. --- build-sig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build-sig b/build-sig index 3e46ad9..6230dcd 100755 --- 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"; }' -- 2.30.2