Tuesday, February 09, 2010

Couldn't we just replace Peter Bottomley with a very small shell script?

I'm being trying to figure out what Peter Bottomley MP actually does and have come to the conclusion that all he seems to do is sign any and every Early Day Motion available - I expect he'd sign a polished turd if asked.

So I have a proposal, couldn't we just replace him with this and save the taxpayer some money?
#!/bin/bash
EDM=/home/parliament/edms
NEW=`find $EDM -mtime -1`
for i in $NEW
do
`grep "Peter Bottomley" $i`
if [ $? != 0 ]
then
echo "Peter Bottomley" >> $i
fi
done
Just a thought.

Note: Script is released under the GPL v3.

No comments: