Jan 302009
 
No Gravatar


#!/bin/bash
#Simulation code for US foreign policy.
#KNOWN BUGS: Do not attempt to use in the real world which is
#complex and has issues with more than two sides.

source /etc/government/cabinet

function congress() {
LEGALBRIBERY="yes"
sleep 60
}

function senate() {
LEGALBRIBERY="yes"
sleep 60
}

#Previous tests suggest that running with PRESIDENT
#set to "Bush" causes system crashes across the board.

case $PRESIDENT in
"Bush")
for COUNTRY in /usr/share/countries/arab_region ; do
if (($? > 5)) ; then
/etc/init.d/war start $COUNTRY
fi
killall -9 economy
TAXCUTS=(($TAXCUTS++))
;;
"Obama")
killall -9 war
renice -19 economy
TAXCUTS=0
TAXES=(($TAXES++)) //Code seems to break without this
HOPE=(($HOPE++))
;;
esac

  • Aragon

    Here’s a more accurate version:

    #!/bin/bash
    #Simulation code for US foreign policy.
    #KNOWN BUGS: Do not attempt to use in the real world which is
    #complex and has issues with more than two sides.

    source /etc/government/cabinet

    function congress() {
    LEGALBRIBERY=”yes”
    sleep 60
    }

    function senate() {
    LEGALBRIBERY=”yes”
    sleep 60
    }

    #Previous tests suggest that running with PRESIDENT
    #set to “Bush” causes system crashes across the board.

    case $PRESIDENT in
    “Bush”)
    for COUNTRY in /usr/share/countries/arab_region ; do
    if (($? > 5)) ; then
    /etc/init.d/war start $COUNTRY
    fi
    killall -9 economy
    TAXCUTS=(($TAXCUTS++))
    ;;
    “Obama”)
    cd /var/iraq && mv military.db /var/afghanistan
    dd if=/dev/troops of=/var/afghanistan count=5000
    # this will make the above look good
    /bin/speech.sh -charm 10 -confidence 10
    while [ 1 ]; do
    cat /dev/money >/dev/economy &
    TAXCUTS=0
    TAXES=(($TAXES++)) //Code seems to break without this
    HOPE=(($HOPE++))
    # this should delay the disaster long enough
    sleep 60
    done
    ;;
    esac

  • http://silentcoder.co.za silentcoder

    Heh, fair enough – I do see your points – completely dissagree about the disaster part tho :p