Introduction
Introduction Statistics Contact Development Disclaimer Help
example.sh - grabtitle - stupid HTML title grabber
git clone git://git.codemadness.org/grabtitle
Log
Files
Refs
README
LICENSE
---
example.sh (185B)
---
1 #!/bin/sh
2
3 if test x"$1" = x""; then
4 echo "usage: $0 <url>" >&2
5 exit 1
6 fi
7
8 url="$1"
9 curl \
10 -s \
11 -L --max-redirs 3 \
12 -m 5 \
13 -H 'User-Agent:' \
14 "$url" 2>/dev/null | \
15 ./grabtitle
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.