Files
gvm/scripts/listall
T

19 lines
283 B
Bash
Executable File

#!/bin/bash
display_error() {
tput sgr0
tput setaf 1
echo "ERROR: $1" >&2
tput sgr0
exit 1
}
echo "
gvm gos (available)
"
curl -s https://go.googlecode.com/hg/.hgtags | awk '{ print $2 }'
if [[ $? -ne 0 ]]; then
display_error "Failed to get version list from Google"
fi
echo