-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 16-May-07, at 2:23 PM, Gene Kwiecinski wrote:

:g/^\(.{8}\)\(.*\)\n\(\s{8}\)/s//\1\2\r\1/

Well,
:g/^\(.\{8}\)\(.*\)\n\(\s{8}\)/s//\1\2\r\1/
       ^
works, but I'd have to run it 12 times if there are twelve blanks
after the filled in line.

Hm? Not sure why you escaped the '{'. Apparently didn't need to after
the "\s".

You are right - it was a typo - I actually need to escape both of them -

:g/^\(.\{8}\)\(.*\)\n\(\s\{8}\)/s//\1\2\r\1/
       ^                 ^

Brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Verify this email or encrypt your email for free - see gnupg.org

iD8DBQFGS030GnOmb9xIQHQRAkrxAKCQ2s0Z4CpdNbLlq5GB1Emfao9lrACgjWIs
U2W8X6FLElJSMaJyhYqxi4c=
=K8FT
-----END PGP SIGNATURE-----

Reply via email to