Mercurial > hg > xemacs-beta
view move-if-change @ 955:b7fa959034ca
[xemacs-hg @ 2002-08-07 22:24:32 by scop]
2002-08-08 Ville Skyttä <ville.skytta@xemacs.org>
* xemacs/packages.texi (Available Packages): Bring up to date.
author | scop |
---|---|
date | Wed, 07 Aug 2002 22:24:36 +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