Mercurial > emacs
view move-if-change @ 60270:b87ad571b7a8
(Subprocess Creation): Explain nil in exec-path. Cleanup.
(Deleting Processes): Cleanups, add xref.
(Process Information): set-process-coding-system, some args optional.
(Input to Processes): Explain various types for PROCESS args.
Rename them from PROCESS-NAME to PROCESS.
(Signals to Processes): Likewise.
(Decoding Output): Cleanup.
(Query Before Exit): Clarify.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 27 Feb 2005 00:09:08 +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