Georg Dahn wrote:
Hi!

Or you might want to use

    :1,$s/ /./

to replace all spaces by dots, then (immediately after)

    u

for "undo".

To replace _all_ spaces by dots, you should better use

:%s/ /./g

because your command replaces the first space character of each
line only. With 'g' at the end, all space characters are replaced.

Best wishes,
Georg


Oops. My bad.


Best regards,
Tony.

Reply via email to