awkscript (950B)
1 : 1396641020:0;cat out2 | awk '{print $1, $2-(($4-1)/2), $3-(($4-1)/2), $4}' > out3 2 : 1396641022:0;l 3 : 1396641025:0;rm out3 4 : 1396641027:0;cd .. 5 : 1396641028:0;cat out2 | awk '{print $1, $2-(($4-1)/2), $3-(($4-1)/2), $4}' > out3 6 : 1396641031:0;head out2 7 : 1396641038:0;grep -v '1$' out2 | head 8 : 1396641041:0;grep -v '1$' out3 | head 9 : 1396641052:0;cat out2 | awk '{print $1, $2+(($4-1)/2), $3+(($4-1)/2), $4}' > out3 10 : 1396641053:0;grep -v '1$' out3 | head 11 : 1396641085:0;cat out2 | awk '{print $1, $2+(($4-1)/2), $3+(($4-1)/2), ($4-1)/2}' > out3 12 : 1396641086:0;grep -v '1$' out3 | head 13 : 1396641101:0;less out2 14 : 1396641106:0;tail out2 15 : 1396641107:0;tail out3 16 : 1396641187:0;less out3 17 : 1396641193:0;wc -l out3 > taille 18 : 1396641196:0;cat taille out3 > out4 19 : 1396641198:0;less out4 20 : 1396641201:0;vi out4 21 : 1396641216:0;less out4 22 : 1396641259:0;cat out4 | awk '{print $1, $3, $2, $4}' > out5 23 : 1396641264:0;less out5 24 : 1396641305:0;vi ~/.history