Math's hacks by mathatt sizone dott orgg

Collection of my hacks/scripts written over time. Please feel free to use, or improve! Would love to hear you're using them, email me above.

All code covered under CC BY-SA license:
(CC BY-SA) 2008 http://creativecommons.org/licenses/by-sa/2.5/ca/

Expand-virtdomains.plscript to expandvirtual email fwd files for postfix
addadd/subtract columns in text files
alarmset off ^G alarm at time
axel-mirrormirror a webpage with axel
bwmonwatch bandwidth/# packets per sec on interface in FreeBSD
cidrmath.pladd/subtract subnets from each othergiving contiguous results
cron-restart-job.shensure a process is constantly running via cron
dbx2mbox.plConvert Outlook dbx files to mbox format
deurlify.plremove urls from html
dudiffgives size differences of the du of two dir trees with shared hardlinked files
duicounts # of files/dirs in dir tree like du for inodes
fileagediffgives ages of files/dirs oldest to newest listing absolute/relative ages in days
dewpointconvert dewpoint/temp to %relative humidity
dos2unixconvert dos CR LF files to unixLF
favicon.shcreate a favIcon from an image
ffmpegrecscript to record tv via video4linux with ffmpeg
image-linkcreates a chain of images linked to next image in dir
list-vserver-ips2show ips used in tree oflinux /etc/vserver dirs
mozbot.plhacked mozbot to eat SNIPS/NOCOL logs and alert channel
mpplay files with mplayer with options after each file
mp3dirhack to help xmms play a web dir of mp3/ogg/etcfiles
mpg123streamrecord a streaming radio program to files on disk
oldfiles.shfind disk space taken up by dirs with newest file in dir older than date (deletion candidates)
pinglistpinglist of ips or hostnames, find fastest ping
post-track.pltrack postfix msgs byID
raid-thrash.shthrash a raid array (by adding/removing slices) nicely for benchmarking
rulerdraws a 'ruler' on screen to aid in counting character positions, fits any size terminal
split-into-backref.plsplita multi-line records file into others based on perl macro
streamGrabba.shgrab an mp3 stream todisk
urlify.pl%encode urls from binary/text ascii
vmstatpagevery simple script to add machine ID, date, etc to vmstat 'page' based output
zapkill procs matching pattern(like sunOS 4.x's zap)