view move-if-change @ 85745:bece18fa22d7

Ryan Yeske <rcyeske at gmail.com> (rcirc-server-alist): Use coloned symbols for parameter names. (rcirc-recent-quit-alist): New function. (rcirc): Print a better message when there is only one connected server. (rcirc-complete-nick): Do not update the nick table here. (rcirc-mode-map): Add M-o. (rcirc-current-line): Add variable. (rcirc-mode): Setup variables for line based omit. (rcirc-edit-multiline): Strip text properties. (rcirc-omit-responses): Add NICK. (rcirc-omit-threshold): Add variable. (rcirc-last-quit-line, rcirc-last-line, rcirc-elapsed-lines): Add functions. (rcirc-print): Keep track of current line. Do not fill text if `rcirc-fill-flag' is null. Only omit text if the last activity from the sender is more than `rcirc-omit-threshold' lines ago. (rcirc-put-nick-channel, rcirc-handler-PRIVMSG): Track line numbers instead of time. (rcirc-channel-nicks): Sort by line numbers instead of time. (rcirc-omit-mode): Add `...' when omitting text and recenter. (rcirc-handler-JOIN): Restore the joiners linestamp. (rcirc-maybe-remember-nick-quit): Add function. (rcirc-handler-QUIT): Record sender in table of recently quit nicks.
author Glenn Morris <rgm@gnu.org>
date Mon, 29 Oct 2007 01:23:19 +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