view move-if-change @ 42845:ebb3a20bc357

(w32_load_system_font, w32_to_x_charset): Use strnicmp in place of stricmp. (w32_list_synthesized_fonts): Removed. (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions. (struct enumfont_t): New element; list. (enum_font_cb2): List all style and charset variations of a font. (Fw32_select_font): New optional argument; include_proportional. Exclude vertical fonts. Exclude proportional fonts unless include_proportional is non-nil. (w32_enable_synthesized_fonts): Change to a boolean. (Fw32_send_sys_command): Doc fix.
author Jason Rumney <jasonr@gnu.org>
date Sun, 20 Jan 2002 14:57:54 +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