[PLUG] (no subject) rev2

Felix Lee felix.1 at canids.net
Sun Oct 19 00:51:01 UTC 2003


"russell-evans at qwest.net" <russell-evans at qwest.net>:
> #/bin/sh

should be #!/bin/sh
and maybe not sh, since POSIX sh doesn't have arrays.

> declare -a RESULT

should be RESULTS

>    COL2[$x]=${RESULTS[$y]}
>    let x=$x+2

you're only assigning every other element of COL1 and COL2.
COL1[0] has a value, COL1[1] is null, COL1[2] has a value, etc.
--




More information about the PLUG mailing list