>perl -le "$_=shift; s/\b(\w)(\w*)(\w)\b/$3$2$1/g; print" *%$# *%$# [download]
In reply to Re^2: Swap the characters by AnomalousMonk in thread Swap the characters by sandy1028