diff options
author | epoch <epoch@hacking.allowed.org> | 2017-12-19 03:28:54 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2017-12-19 03:28:54 -0600 |
commit | 74c364b28d3e77d89783828e151a6883a9e093a2 (patch) | |
tree | 0f1a05f91d014ceff2d4b8bae173ee9b160b197d /tools/offsetshape.sh | |
parent | 7a253073e0c9d61391234b8c0fa2799838837cd8 (diff) | |
download | hackvr-74c364b28d3e77d89783828e151a6883a9e093a2.tar.gz hackvr-74c364b28d3e77d89783828e151a6883a9e093a2.zip |
updated offsetshape.sh to skip over the new color value in addshape
Diffstat (limited to 'tools/offsetshape.sh')
-rwxr-xr-x | tools/offsetshape.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/offsetshape.sh b/tools/offsetshape.sh index a6bb595..928a759 100755 --- a/tools/offsetshape.sh +++ b/tools/offsetshape.sh @@ -1,5 +1,5 @@ #!/bin/sh -#objectname addshape points_in_shape +#objectname addshape color 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;}' +awk '{ for(i=4;i<=(4+($4*3));i+=3){$i+='"$1"';$(i+1)+='"$2"';$(i+2)+='"$3"';} print $0;}' |