Quote:
Originally Posted by kaminkatze
echo ${v:1:1} returns -sh: syntax error: Bad substitution on my K3, and expr substr $v 1 1 is even slower than hexdump.
Here is a ev[ia]l array style version.
eval "v=\$A${x}x$y".
...
|
See how the "cut" method for K3 substrings compares to your other methods. I used it here: