toggleCASE by tails

printf ${1:z^=$1:IFS=1}
read -N1 w&&. * ${w,}${w^}z+w$[{A..Z}=1]

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top