Mercurial > emacs
view move-if-change @ 102325:2c693a021d83
(detect_coding_charset): If not checking latin extra,
fail on characters between 0x80 and 0xA0. (Bug#2354)
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Sat, 28 Feb 2009 13:37:33 +0000 |
parents | 354e0c45cedf |
children | 14a97ab281d5 |
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