fixed for platforms that don't support the nice human readable -p flag on uptime.
[feisty_meow.git] / scripts / files / show_links.sh
1 #!/bin/bash
2 if [ -z "$1" ]; then
3   echo You must supply a file name to strip out just the links from...
4   exit 2
5 fi
6
7 cat "$1" | sed -n -e 's/^.*[hH][rR][eE][fF]="\([^"]*\)".*$/\1/p'