segs by tails

read a
for((i=l=${#a};++j>l-i?j=1,i--:1;)){
echo "${a:i:j}"
}

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

download

return top