Mercurial > hg > xemacs-beta
view move-if-change @ 1476:d824841064f3
[xemacs-hg @ 2003-05-12 05:12:10 by youngs]
2003-05-11 Simon Josefsson <jas@extundo.com>
* replace.el (delete-non-matching-lines, kill-non-matching-lines)
(copy-non-matching-lines, delete-matching-lines)
(kill-matching-lines, copy-matching-lines): Don't message.
author | youngs |
---|---|
date | Mon, 12 May 2003 05:12:10 +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