Annotation of gcc/move-if-change, revision 1.1.1.3

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

unix.superglobalmegacorp.com

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