diff options
author | kim <kim@pkgsrc.org> | 2002-11-29 19:12:37 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 2002-11-29 19:12:37 +0000 |
commit | 5dabc911cffa965e784cc8146f239beb7e5ba7f3 (patch) | |
tree | 6ba155eeea355d1adc92eda41ebbe69c6dfe84ef /audio/abcde/patches | |
parent | d0f729b4d81cea8ecc3aa0aaa6d1bf3d55ea3914 (diff) | |
download | pkgsrc-5dabc911cffa965e784cc8146f239beb7e5ba7f3.tar.gz |
Options must come before arguments when calling mail(1).
Diffstat (limited to 'audio/abcde/patches')
-rw-r--r-- | audio/abcde/patches/patch-ad | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/audio/abcde/patches/patch-ad b/audio/abcde/patches/patch-ad index 41136cf811e..8279ec3c7d2 100644 --- a/audio/abcde/patches/patch-ad +++ b/audio/abcde/patches/patch-ad @@ -1,7 +1,7 @@ -$NetBSD: patch-ad,v 1.3 2002/09/20 00:33:13 hubertf Exp $ +$NetBSD: patch-ad,v 1.4 2002/11/29 19:12:38 kim Exp $ ---- cddb-tool.orig Mon Jan 21 03:29:23 2002 -+++ cddb-tool +--- cddb-tool.orig Sun Jan 20 21:29:23 2002 ++++ cddb-tool Fri Nov 29 14:09:19 2002 @@ -119,7 +119,7 @@ echo '#' echo '# Track frame offsets:' @@ -27,3 +27,12 @@ $NetBSD: patch-ad,v 1.3 2002/09/20 00:33:13 hubertf Exp $ do echo "EXTT$(expr $x - 1)=" done +@@ -153,7 +153,7 @@ + ADDRESS="$2" + DISCID=$(grep ^DISCID= "$FILE" | cut -f2 -d= | tr -d \[:cntrl:\]) + CDDBGENRE=$(grep '^#CATEGORY=' "$FILE" | cut -f2- -d=) +- grep -v "^#CATEGORY=" "$FILE" | mail "$ADDRESS" -s "cddb $CDDBGENRE $DISCID" ++ grep -v "^#CATEGORY=" "$FILE" | mail -s "cddb $CDDBGENRE $DISCID" "$ADDRESS" + ;; + + query) # cddb-tool query serverurl user host discid... |