Vim substitute command :%s/old/new/g will replace all occurrences of old by new. But I want to do this replacement only in lines that do not start with #. I mean in my file there are some lines starting with # (called commented lines) which I want to exclude in search...
I have a number of email templates for use inside mailchimp that are currently using standard merge tags, ala *|SUBJECT|*. I want to convert these templates for Handlebars usage.
I have a .pl file that consists of an unstructured header and some specific X Y Z structure. The header has no "." in there. Below you can find a snippet of this file:
I want to change the article ,cut half lines ,paste into two cloumns.Trget:Please give a simple way with awk or vim.