ref: 48c656d809eba4bdb5092b07c3c0b4487f6cd69f
dir: /tests/test.2/action.rc/
#!/bin/rc service=$1 # du -a /n/^$service^/ for(t in 0 1 01 2 3 4 5 7){ # for(t in 0){ touch /n/^$service^/file1 echo ./6.offsets -s test.2/^$t^.start -o `{cat test.2/^$t^.offset} -a test.2/^$t^.add /n/^$service^/file1 ./6.offsets -s test.2/^$t^.start -o `{cat test.2/^$t^.offset} -a test.2/^$t^.add /n/^$service^/file1 diff /n/^$service^/file1 test.2/^$t^.end cmp /n/^$service^/file1 test.2/^$t^.end || { ls -l /n/^$service^/file1 test.2/^$t^.end echo cat /n/^$service^/file1 cat /n/^$service^/file1 echo cat test.2/^$t^.end cat test.2/^$t^.end } echo $status rm /n/^$service^/file1 } # touch /n/^$service^/file1 # ./6.offsets -s test.2/6.start -o 1124 -a test.2/6.add /n/^$service^/file1 > test.2/6.end # ls -l /n/^$service^/file1 # xd -c -b /n/^$service^/file1 # cp /n/^$service^/file1 test.2/6.end # rm /n/^$service^/file1