3 ms·
Only scored a 27 on the 'Reverse characters in a line' challenge... I was trying to do this: :s/./&\r/g|g/^/m0|j! However, that causes a to be before b for
by jh3 16y ago
Only scored a 27 on the 'Reverse characters in a line' challenge...
I was trying to do this:
:s/./&\r/g|g/^/m0|j!
However, that causes a to be before b for some reason.
So I ended up doing:
:s/./&\\r/g|g/^/m0\rV}gJ
Anyone know why appending j! joins everything correctly except a and b?