From 867e9aed04a963886ff016d3fdaeb9a1dc1ab2eb Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 20 Jun 2004 16:19:58 +0000 Subject: Don't close stdin, nawk (default awk on FreeBSD) wants to do that itself. svn path=/trunk/; revision=3921 --- html2txt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} '/"$tmp" <&- + { if (i == 0) print $0; }' "$inp" >"$tmp" # and go! echo " (This file was generated from $inp)" -- cgit v1.2.3