Content added Content deleted
imported>mutante m (4 sink copies) |
imported>mutante mNo edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<pre> |
|||
please redirect to SinkFiles or SinK or lets clean it up somehow , they were 3 copies,same content , haha even 4 there is PlaySink too |
|||
#!/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