Mercurial > hg > xemacs-beta
view move-if-change @ 1285:c7f36e03a343
[xemacs-hg @ 2003-02-10 17:47:38 by stephent]
use lang environment to set charset list <87u1fcf2ru.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Mon, 10 Feb 2003 17:47:44 +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