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