Thursday, July 18, 2013

How gVim saved my day

Hi, in this article i personally record how gVim come very handy
to help me to filter out a CSV file.

Steps:

# to get rid the header
1.  :g/^Sa...ka,,,,*/d
2.  :g/^"General Ledger Detail",,,,*/d
3.  :g/^"From 01 Jan .*",,,,*/d
4.  :g/^"ACC.* Report",,,,*/d
4.  :g/^"Printed.*",,,,*/d
5.  :g/^"Page.*",,,*/d
6.  :g/^,,,*/d

To use :g/regexRules/d <-- and="" d="" delete="" find="" is="" p="" to="">
Hope it helps.



No comments: