comparison bin/joke.sh @ 248:c7dd4631b526

adding a module for easy jokes; should go -> bitsyapps, etc
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 01 Dec 2012 17:15:46 -0800
parents
children
comparison
equal deleted inserted replaced
247:eae5a3494fa9 248:c7dd4631b526
1 #!/bin/bash
2
3 title=$1
4 shift
5
6 if [[ "${title}" == "" || "$#" == "0" ]]
7 then
8 exit 1
9 fi
10
11 filename=~/web/site/comedy/cheapshots/${title}.txt
12
13 echo "$@" > ${filename}