diff options
author | Luke Bratch <l_bratch@yahoo.co.uk> | 2014-10-08 12:11:11 +0100 |
---|---|---|
committer | Luke Bratch <l_bratch@yahoo.co.uk> | 2014-10-08 12:11:11 +0100 |
commit | e850940f8d41ad59c0bd1e5a38af79d75e233cec (patch) | |
tree | a835f948352275e596c6c1f468cade6ce8b52a05 /title.bash | |
parent | 05ffe5dc23101a8421d4c7594e63cc622f8111a5 (diff) |
Update version
Diffstat (limited to 'title.bash')
-rwxr-xr-x | title.bash | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |