view move-if-change @ 4600:dcfd965d65a1

Correct invalid-sequence-coding-system spec, Roman-alphabet languages. I had been testing with the Cyrillic language environments, and I have code in my own init file that does something similar, so I hadn't noticed that this had gone wrong. lisp/ChangeLog addition: 2009-02-04 Aidan Kehoe <kehoea@parhasard.net> * mule/latin.el: Specify windows-1250 as the invalid-sequence-coding-system for the iso-8859-2 languages; actually *use* the invalid-sequence-coding-system for German and the other iso-8859-1 language environments.
author Aidan Kehoe <kehoea@parhasard.net>
date Wed, 04 Feb 2009 13:12:21 +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