diff options
-rwxr-xr-x | tools/offsetshape.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/offsetshape.sh b/tools/offsetshape.sh index 3362e3b..f3ceabd 100755 --- a/tools/offsetshape.sh +++ b/tools/offsetshape.sh @@ -1,3 +1,5 @@ #!/bin/sh +#format of lines read from stdin: +# $1 $2 $3 $4 <-- variables in awk #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;}' |