view move-if-change @ 67254:a52ff1637e2f

(flyspell-external-point-words): Consider a misspelling as found in the string search if: (a) misspelling and found string lengths match, or (b) misspelling is found as element in a boundary-chars separated longer string, or (c) ispell-program-name is really ispell and misspelling is found as part of a TeX string. After successful match move beginning of search region to end of match. Warn about not found misspellings once the process is done. (flyspell-large-region) Do not set ispell-parser to tex if in TeX mode.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 02 Dec 2005 13:16:48 +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