ehangc by Ali

while read L;do [[ $L =~ (.)(.*)(.) ]]&&{ M=("${BASH_REMATCH[@]}");echo ${M[3]}${M[2]}${M[1]};}||echo $L;done

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

download

return to the top page