Mercurial > hg > xemacs-beta
view move-if-change @ 4083:a3f8bb07ab38
[xemacs-hg @ 2007-07-28 08:02:15 by aidan]
Make ccl-encode-to-ucs-2 more robust.
author | aidan |
---|---|
date | Sat, 28 Jul 2007 08:02:16 +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