Content added Content deleted
imported>KunDa (REDIRECT (per request)) |
imported>mutante mNo edit summary |
||
Line 1: | Line 1: | ||
<code> |
|||
#REDIRECT SinK |
|||
#!/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 |
|||
</code> |
|||
[[UnixGames]] |
|||
[[PlaySink]] |
|||
[[ComputerGames]] |
Revision as of 18:41, 9 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