read -r a&&(b=${a// } c=${b//[0-9A-Za-z]} d=${c//[]!-~]} echo $[c=${#c},a=${#d}]B / $[${#b}-c]B / $[c-a]B . *)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page