Must use /bin/sh (HP-UX 11i)
The variable $1 (string) has variable string length.
This length must be stored in a varable like $bl in the shell.
with echo $1 | awk '{print length($1)}' the variable length can be determined.
But how can i get this value back to the shell as $bl
Any idea ??
The variable $1 (string) has variable string length.
This length must be stored in a varable like $bl in the shell.
with echo $1 | awk '{print length($1)}' the variable length can be determined.
But how can i get this value back to the shell as $bl
Any idea ??