-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16-May-07, at 1:05 PM, Tim Chase wrote:
:g/^\s\{8}/-s/^\(.\{8}\).*\n\zs\s\{8}/\1
I don't understand that regex completely - but it deletes lines of data :-)
Looks like it globably matches the 'blank start' lines, then searches in that for the pattern - thus deleting the third line...
What's the -s do as compared to just s after the g/pattern/ Brian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) Comment: Verify this email or encrypt your email for free - see gnupg.org iD8DBQFGS003GnOmb9xIQHQRAv5VAKC6QXC8mLr7Fj0E5NDb47Wi1J5OjwCeLZkg 43BTgSoka6rAbFjotqeMT+g= =gVmG -----END PGP SIGNATURE-----