summaryrefslogtreecommitdiff
path: root/tools/offsetshape.sh
blob: a6bb595ead5788e89607ad65b0bb7cc0d3793f82 (plain) (blame)
1
2
3
4
5
#!/bin/sh
#objectname addshape points_in_shape
echo offsetshape: $1 $2 $3
awk '{ for(i=4;i<=(3+($3*3));i+=3){$i+='"$1"';$(i+1)+='"$2"';$(i+2)+='"$3"';} print $0;}'