hide error output - grabtitle - stupid HTML title grabber | |
git clone git://git.codemadness.org/grabtitle | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit fee48ebf0343f68a35c2b65a0f2d82e8ac803725 | |
parent 7d6279c8dec086f01bd2355d15292afa630238a4 | |
Author: Hiltjo Posthuma <[email protected]> | |
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(-) | |
--- | |
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 |