home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Education Sampler 1992 [NeXTSTEP]
/
Education_1992_Sampler.iso
/
NeXT
/
GnuSource
/
cc-61.0.1
/
cc
/
move-if-change
< prev
next >
Wrap
Text File
|
1990-10-08
|
120b
|
16 lines
#!/bin/sh
if
test -r $2
then
if
cmp $1 $2 > /dev/null
then
echo $2 is unchanged
rm $1
else
mv $1 $2
fi
else
mv $1 $2
fi