diff options
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 |