summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bratch <l_bratch@yahoo.co.uk>2014-10-08 12:11:11 +0100
committerLuke Bratch <l_bratch@yahoo.co.uk>2014-10-08 12:11:11 +0100
commite850940f8d41ad59c0bd1e5a38af79d75e233cec (patch)
treea835f948352275e596c6c1f468cade6ce8b52a05
parent05ffe5dc23101a8421d4c7594e63cc622f8111a5 (diff)
Update version
-rwxr-xr-xtitle.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/title.bash b/title.bash
index dec8222..95a9ca9 100755
--- a/title.bash
+++ b/title.bash
@@ -15,7 +15,7 @@ then
echo "Usage: '!title <url>' where <url> is an http:// or https:// URL"
elif [ "$url" == "-v" ] || [ "$url" == "--version" ]
then
- echo "title version 0.4"
+ echo "title version 0.6"
else
curl --insecure --silent --max-filesize 1048576 --max-time 10 "$url" | sed -n -e 'H;${x;s!.*<head[^>]*>\(.*\)</head>.*!\1!I;tnext};b;:next;s!.*<title>\(.*\)</title>.*!\1!pI'
fi