A sample of the power of Vim

this power … in vim you need to get… :%s/X\([^=]*\)=”blankrow”/Xblankrow=”\1″/g Problem statement: I have a 1000+ line file, with this pattern: Xabc=”blankrow” …. that I need to change to: Xblankrow=”abc“ see the swap? note: abc is dynamic and viariable and unknown with the exception that I know it follows the syntactical rules of being a …

Continue reading ‘A sample of the power of Vim’ »