#$EPIC: rename.txt,v 1.4 2007/03/02 02:32:04 jnelson Exp $
Naturally, this function is useful any time a file needs to be renamed. One use for it might be to back up your .ircrc before doing a SAVE, just in case something goes wrong before the command is completed.
0 file renamed successfully -1 error during rename attempt
$rename(~/.ircrc ~/.ircrc.bak) returns 0 if successful $rename(/etc/passwd /etc/hahaha) probably will return -1
This function first appeared in EPIC2.