1
0

wiki.diff 283 B

123456789101112
  1. #!/bin/rc
  2. rfork n
  3. cd $1
  4. *=(`{ls -drp [0-9]*})
  5. diff -n index.txt $1/index.txt | sed 's/^(.*)index.txt:(.*)index.txt:/\1current:\2:/g'
  6. while(! ~ $#* 0 1){
  7. diff -n $1/index.txt $2/index.txt | sed 's/^(.*)index.txt:(.*)index.txt:/\1:\2:/g'
  8. shift
  9. }
  10. echo clean >/dev/ctl >[2]/dev/null