David Turetsky wrote:
>>:%s/^[a-z]:[0-9]/#/g
> Try something like:
> %g!/^#/s/^/#/
Personally I'd do it this way:
%s/\(.*\)/#\1/g
I know there are more concise ways to do it but this at least shows why
the approach the OP took was not working.
--
Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
PGP Key: 8B6E99C5 | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------
Attachment:
signature.asc
Description: OpenPGP digital signature