hide error output - grabtitle - stupid HTML title grabber
HTML git clone git://git.codemadness.org/grabtitle
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit fee48ebf0343f68a35c2b65a0f2d82e8ac803725
DIR parent 7d6279c8dec086f01bd2355d15292afa630238a4
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 31 Mar 2018 13:34:12 +0200
hide error output
possibly "failed writing body", this is because title.c does not
read the whole output after reading the title tag.
Diffstat:
M run.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/run.sh b/run.sh
@@ -6,5 +6,5 @@ curl \
-L --max-redirs 3 \
-m 5 \
-H 'User-Agent:' \
- "$url" | \
+ "$url" 2>/dev/null | \
./title