Mercurial > hg > xemacs-beta
view move-if-change @ 1606:5d5a604cb3ed
[xemacs-hg @ 2003-08-06 09:11:39 by michaels]
2003-08-03 Mike Sperber <mike@xemacs.org>
* files.el (insert-directory): Massage somewhat to be slightly
closer to FSF version. Support "--dired" as argument for GNU ls,
and, if given, create extents with 'dired-file-name property set
to t, similar to what the FSF version does.
author | michaels |
---|---|
date | Wed, 06 Aug 2003 09:11:40 +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