sed 's/\(\b\)\(\w\)\(\w\)\(\w\)\(\b\)/\1\4\3\2\5/g' input_file
3
solved replacing letters in a word at his reverse sed [closed]
sed 's/\(\b\)\(\w\)\(\w\)\(\w\)\(\b\)/\1\4\3\2\5/g' input_file
3
solved replacing letters in a word at his reverse sed [closed]