Mercurial > hg > xemacs-beta
view move-if-change @ 599:55614ee2fb8d
[xemacs-hg @ 2001-06-01 06:30:08 by martinb]
typo fix found by Alexey
author | martinb |
---|---|
date | Fri, 01 Jun 2001 06:30:08 +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