I would like to know if is possible in vi to add at the end of a line some specific character of ther line itself. Example: Before
donald /mount/donald_01
mickey /mount/mickey_01
mickeym /mount/mickey_02
After some :%s%"last two characters"%"last two characters"/"last two characters"% command
donald /mount/donald_01/01
mickey /mount/mickey_01/01
mickeym /mount/mickey_02/02
Thanks gb