Re: [Code] Crashbug and Question

From: Daniel W. Burke (
Date: 12/10/96

On Tue, 10 Dec 1996, Brian Guilbault wrote:

> Hi Everyone-
> And the second thing...not really circle related, but how can I check for 
> the existance of a file before I do something to it in a shell script 
> (read autorun). I have my mud compile into circle.tst and then move it 
> circle.move, then have autorun move that to circle before rebooting. That 
> works fine...if the file exists. If it doesn't then autorun chokes on me.

>From my own autorun file using csh

  if (-r bin/ then
    rm bin/circle
    mv bin/ bin/circle


| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

This archive was generated by hypermail 2b30 : 12/18/00 PST