diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/offsetshape.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/offsetshape.sh b/tools/offsetshape.sh new file mode 100755 index 0000000..a6bb595 --- /dev/null +++ b/tools/offsetshape.sh @@ -0,0 +1,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;}' + |