Changes

Jump to: navigation, search

Get-root-zone

19 bytes added, 16:04, 30 November 2010
no edit summary
#!/bin/bash # Created by: Raymond Chan # for OPS535 # (c) 2010 url=http://zenit.senecac.on.ca/wiki/index.php/Domainreg if [ ! -f raw.txt ] then
echo "Gettting wiki file from the web ..." >&2
wget -O raw.txt $url
fi buffer=$(cat raw.txt| grep ^'</td><td>') nl=$(echo "$buffer"|wc -l) a=0 b=5 while [ $a -lt $nl ] do
stuff=$(echo "$buffer"| head -"$b" | tail -5|nl|sed -e "s/<\/td><td>/x/g")
# echo "$stuff"
#read xxx
done
1
edit

Navigation menu