aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2004-06-20 16:19:58 +0000
committerMatthias Andree <matthias.andree@gmx.de>2004-06-20 16:19:58 +0000
commit867e9aed04a963886ff016d3fdaeb9a1dc1ab2eb (patch)
treeac8413a7cd81c11d167f1a66eccc0185c391c440
parent255ba2693a5010b8e126fdb67a96f49d3d98108d (diff)
downloadfetchmail-867e9aed04a963886ff016d3fdaeb9a1dc1ab2eb.tar.gz
fetchmail-867e9aed04a963886ff016d3fdaeb9a1dc1ab2eb.tar.bz2
fetchmail-867e9aed04a963886ff016d3fdaeb9a1dc1ab2eb.zip
Don't close stdin, nawk (default awk on FreeBSD) wants to do that itself.
svn path=/trunk/; revision=3921
-rwxr-xr-xhtml2txt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/html2txt.sh b/html2txt.sh
index c0543f17..d2ae59a1 100755
--- a/html2txt.sh
+++ b/html2txt.sh
@@ -40,7 +40,7 @@ tmp="html2txt.$$.html"
trap "rm -f \"$tmp\"" 0 1 2 3 15
${AWK:=awk} '/<table .*summary="Canned/ { i=1; }
/<\/table>/ { i=0; }
- { if (i == 0) print $0; }' "$inp" >"$tmp" <&-
+ { if (i == 0) print $0; }' "$inp" >"$tmp"
# and go!
echo " (This file was generated from $inp)"