Content added Content deleted
imported>KunDa (REDIRECT (per request)) |
imported>mutante mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1:
<pre>
#!/bin/sh
#
# sink -- play an ancient Discordian game with files
# hacked up by lhos on 32 Afm, 3160
# All rites reserved.
# This program is part of the Emperor Norton Utilities.
# put this in a file called sink in /bin and chmod to 744
if [ $# -eq 0 ] ; then
echo "usage: $0 file(s)"
exit 1
fi
while [ $# -gt 0 ]
do
rm $1
if [ $? -eq 0 ]
then echo "I sank $1!!!"
fi
shift
done
</pre>
also see: [[PlaySink]], [[ComputerGames]]
[[Category:Games]]
[[Category:Discordian]]
[[Category:Unix]]
|
Latest revision as of 19:19, 23 February 2005
#!/bin/sh # # sink -- play an ancient Discordian game with files # hacked up by lhos on 32 Afm, 3160 # All rites reserved. # This program is part of the Emperor Norton Utilities. # put this in a file called sink in /bin and chmod to 744 if [ $# -eq 0 ] ; then echo "usage: $0 file(s)" exit 1 fi while [ $# -gt 0 ] do rm $1 if [ $? -eq 0 ] then echo "I sank $1!!!" fi shift done
also see: PlaySink, ComputerGames