Quoting Tzahi Fadida <[EMAIL PROTECTED]>:

> what about a script?
> here is a script i wrote in 5 min. you are missing the "if" to check if the
> file
> is read only, i don't know what program can test that, but i am sure others
> know(p.s i used bash):

bash itself can test that:

if [ ! -w filename ]
then
   # do whatever you want for a readonly file
fi

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to