Annotation of researchv10dc/cmd/gcc/move-if-change, revision 1.1

1.1     ! root        1: if
        !             2: test -r $2
        !             3: then
        !             4: if
        !             5: cmp $1 $2 > /dev/null
        !             6: then
        !             7: #echo $2 is unchanged
        !             8: rm $1
        !             9: else
        !            10: mv $1 $2
        !            11: fi
        !            12: else
        !            13: mv $1 $2
        !            14: fi

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.