For the mv shell command 
 
The default action is to overwrite

the -n option ( --no-clobber ) prevents the overwrite

Fedora linux does not give any further advice 

For the Apple / BSD world  the man page suggests that the -n flag should never 
be used in a <batch> script

openBSD/netBSD  who normally are safety freaks do not even have the -n option 

Probably the expectation is to have the same behaviour as the hosting system 
Just follow the The Principle of Least Astonishment  

E 

PS…

The man page You posted points to the rename function of the c library

You should use man mv which is the usual command used for a rename 
unusual in the linux world for somebody  to use the rename or the rmdir 
commands 


> On 12 Feb 2019, at 19:25, Erich Steinböck <erich.steinbo...@gmail.com> wrote:
> 
> Personally I think SysFileMove() should never overwrite an existing file 

_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to