diff options
author | epoch <epoch@hacking.allowed.org> | 2018-03-29 17:46:45 -0500 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2018-03-29 17:46:45 -0500 |
commit | dc934a26acb3c4f7ab98f689ac9251650346f99d (patch) | |
tree | fff0e3f4080b505944deda51dfbf7b6a70c6f8ff /tools | |
parent | 43e3c0e1478deb3fd76eed35f4a275c66eb73c3b (diff) | |
download | hackvr-dc934a26acb3c4f7ab98f689ac9251650346f99d.tar.gz hackvr-dc934a26acb3c4f7ab98f689ac9251650346f99d.zip |
added comments to offsetshape.sh
Diffstat (limited to 'tools')
-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;}' |