Mercurial > hg > xemacs-beta
view move-if-change @ 835:e7ad6587a7a0
[xemacs-hg @ 2002-05-11 09:32:08 by adrian]
[AC21.4R21.5] Note FTP AUTH failures w/ EFS in PROBLEMS <873cx8ibev.fsf@tleepslib.sk.tsukuba.ac.jp>
author | adrian |
---|---|
date | Sat, 11 May 2002 09:32:09 +0000 |
parents | 376386a54a3c |
children |
line wrap: on
line source
#!/bin/sh if test -r $2 then if cmp $1 $2 > /dev/null then echo $2 is unchanged rm -f $1 else mv -f $1 $2 fi else mv -f $1 $2 fi