A useful trick in Vim to return the number of matched expressions in a file;
let x=0 | g/regexp/let x=x+1
echo x
where regexp obviously is the regular expression (pattern) you wish to count.
Explore posts in the same categories: Technical
This entry was posted
on Wednesday, May 23rd, 2007 at 2:21 pm and is filed under Technical.
You can subscribe via RSS 2.0 feed to this post's comments.
You can comment below, or link to this permanent URL from your own site.
Your comments will appear immediately, but I reserve the right to delete innapropriate comments.
August 5th, 2007 at 2:02 am
Hola mardena!
falikotrepat
August 6th, 2007 at 7:21 pm
Interesting article!
Where can I find more on this theme?
February 21st, 2009 at 9:39 pm
Buy ambien….
Ambien us pharmacy. Ambien sleeping pill. Ambien. Generic ambien. Ambien drug screen. Ambien sleep medication….
March 24th, 2009 at 10:54 pm
Percocet….
Percocet….
March 26th, 2009 at 12:10 am
Cialis viagra levitra….
Buy generic cialis. Generic cialis. Buy cialis phentermine. Cialis drug. Cialis attorney ohio. Cialis lawyers. Cialis….
March 26th, 2009 at 1:24 pm
Tramadol….
200 mg hexal tramadol. Tramadol overdose. Lowest price tramadol. Tramadol soma zoloft prozac onlineprescription.md. Tramadol withdraw. Tramadol. Tramadol medication. Cheapest tramadol available online….
March 26th, 2009 at 10:38 pm
Codeine….
Hydro codeine. Promethazine with codeine. Codeine. 50 mg codeine phosphate equivalent….
March 27th, 2009 at 11:33 pm
Apap codeine….
Apap codeine. Tylenol codeine side effects. Tylenol with codeine elixir dosing. Codeine. What class of narcotics is codeine. 222 with codeine. Extracting codeine from promethazine….
March 29th, 2009 at 5:55 am
Order valium online….
Valium withdrawal. Negative effects of xanax and valium. Injectable valium. Valium abuse. Valium. Valium liquid form….
March 30th, 2009 at 4:12 am
Ambien cr side effects….
Ambien manufacturer. Ambien online. Ambien 10mg doseage….
March 31st, 2009 at 4:30 am
Lean codeine….
Apap codeine. Codeine addiction symptoms. Robitusin with codeine. Buy 222 codeine. Canadian buy codeine on line. Codeine vicodin. Promethazine with codeine. Codeine and the brain. Side effects of codeine….
April 1st, 2009 at 7:22 am
How to extract oxycodone from percocet….
Percocet withdrawal symptoms. Percocet….
April 2nd, 2009 at 2:30 am
Codeine cough syrup….
Canadian codeine on line. Apap codeine. Tylenol with codeine. Side effects of codeine….
April 2nd, 2009 at 6:10 pm
Tramadol….
Canine tramadol. Tramadol sr 100. Will tramadol hcl test positive in drug testing. Tramadol. Tramacet tramadol hydrochloride….
April 3rd, 2009 at 5:03 am
Codeine extraction….
App codeine 300 30….
April 3rd, 2009 at 5:27 pm
Cafergot cheap….
Cafergot. Cafergot cheap….
April 4th, 2009 at 9:54 am
Tramadol….
Tramadol hcl liquid. What is tramadol. Tramadol….
April 5th, 2009 at 2:06 am
Percocet….
Percocet 93-490. Percocet. How do i get off percocet….
April 5th, 2009 at 6:13 pm
Percocet dosages….
Buy percocet online. Effects of long term percocet use. Percocet. Percocet 7.5 generic. Percocet dosage. Percocet picture….
April 6th, 2009 at 10:14 am
Tramadol withdraw….
200 mg hexal tramadol. Tramadol c.o.d.. Tramadol hcl 50mg. Tramadol. Tramadol com….
April 7th, 2009 at 9:32 am
Buy valtrex at msn….
Valtrex. Valtrex and ache….
April 7th, 2009 at 5:21 pm
Use of the drug valtrex….
Valtrex….
April 8th, 2009 at 3:26 am
Long-term klonopin….
Who makes klonopin wafers….
April 8th, 2009 at 5:28 pm
Alprazolam….
Alprazolam without prescription. Alprazolam intoxicated driving. Alprazolam….
April 9th, 2009 at 3:53 am
Percocet without a prescription cheap….
Buy percocet. Difference between percocet and vicaden. Percocet. Percocet dosages….
April 9th, 2009 at 5:18 pm
Percocet picture….
Patriots percocet addiction buy. Percocet. How do i get off percocet. Percocet shipped cod no prior….
April 10th, 2009 at 3:59 am
Percocet without prescription….
Long term use of percocet. Percocet effects….
April 10th, 2009 at 5:09 pm
Immobilier cote azur….
Immobilier cote azur. Azur 450r review. Cambridge azur 640 amplifier….
April 11th, 2009 at 3:42 am
Percocet with other drugs….
Description of percocet. Percocet. Buy percocet online. Pictures of percocet. Generic percocet. How to extract acetaminophen from percocet….
April 11th, 2009 at 5:30 pm
Tramadol….
Tramadol hcl 50mg. Tramadol….
April 12th, 2009 at 5:34 pm
Acomplia information….
Acomplia….
April 13th, 2009 at 1:36 am
Ambisolm….
Ambisolm….
April 13th, 2009 at 5:47 pm
Ambien….
Ambien during pregnancy. Ambien. Ambien side effects….
April 15th, 2009 at 2:03 am
Hydrocod….
Hydrocod gg syp 5-100 5. Hydrocod apap 10-325. Hydrocod. Hydrocod apap. Hydrocod gg….
April 16th, 2009 at 4:30 am
Tramadol hcl….
Tramadol….
April 16th, 2009 at 12:47 pm
Yagara….
Yagara….
April 17th, 2009 at 4:07 am
Viagra….
Taking viagra with cialis….
April 18th, 2009 at 8:35 am
Mixing advil anacin….
Anacin commercials. Anacin. Old anacin tv commercials. Old anacin commercials….
April 19th, 2009 at 4:44 pm
Klipal….
Klipal….
April 20th, 2009 at 1:01 am
Valtrex….
Valtrex and weight loss. Valtrex. Valtrex and pregnancy. Side effects for valtrex valacyclovir….
April 20th, 2009 at 5:10 pm
Valium….
Beamto buy link online valium pharmacy forum. Valium generic. Injectable valium. Buy valium without prescription. Valium. Valium dosage….
April 21st, 2009 at 4:38 am
Codeine….
Codeine pvtussin. Buy 222 with codeine….
April 21st, 2009 at 5:14 pm
Codeine 3….
Acet codeine….
April 22nd, 2009 at 5:18 am
Cocaine interactions with codeine….
Buy 222 codeine….
April 23rd, 2009 at 1:39 am
Meridia….
Meridia chat. Meridia online. Meridia. Low cost meridia. Meridia coupon. Pillinc buy phentermine adipex meridia online. Meridia no prescription….
April 23rd, 2009 at 4:43 am
Long term use of percocet….
Percocet addiction. Percocet withdrawal symptoms. Percocet high blood pressure. Percocet. Percocet dosages. Percocet for anxiety….
April 23rd, 2009 at 5:56 pm
Caffeine hypertension….
Cannondale caffeine 1. Caffeine….
April 24th, 2009 at 5:05 am
Soma without prescription….
Soma online sales. Soma….
April 24th, 2009 at 3:05 pm
Codeine and liver cirrhosis….
Sell codeine. Codeine combined pseudoephedrine. Extract codeine from fioricet….
April 25th, 2009 at 1:02 pm
Finasteride….
Finasteride 1mg. Finasteride mg hair. Finasteride systemic mayoclinic com….
April 25th, 2009 at 11:51 pm
Corona norco unified school district….
Norco medication. Norco bank robbery. Norco worldwide….
April 26th, 2009 at 12:58 pm
Codeine….
Codeine as antitussive. Codeine effects….
April 26th, 2009 at 11:58 pm
Tramadol….
Tramadol no prescription. Cheap tramadol. Tramadol withdraw. Tramadol cheap no rx free overnight shipping. Tramadol dog. Tramadol….
April 27th, 2009 at 4:36 am
Symtoms of withdrawl from percocet….
Buy percocet online. Compare darvocet and percocet. How long does percocet stay in your system….
April 28th, 2009 at 1:09 am
Buy 222 codeine….
How long does codeine stay in your system. Tylenol with codeine. Cheap codeine no prescription. Codeine phosphate….
April 29th, 2009 at 2:14 am
Online pharmacy codeine 222….
Is codeine legal. Codeine and the brain….
April 29th, 2009 at 10:41 am
Percocet dependency….
Percocet 7.5. No prescription percocet. Buy percocet online no prescription. Long term use of percocet. Percocet. Percocet 93-490 10 mg….
April 30th, 2009 at 2:26 pm
Xanax valium….
Purchashing xanax with mastercard….
May 2nd, 2009 at 2:26 am
Somas with carisoprodol doese t contain codeine….
Buy codeine online. Smoking codeine….
May 2nd, 2009 at 10:39 am
Zimulti….
Zimulti….
May 3rd, 2009 at 2:26 am
Buy 222 codeine….
Canadian buy codeine on line. Codeine. Somas do they have codeine in them….
May 3rd, 2009 at 10:45 am
Side effects of valtrex….
Valtrex. How much valtrex do you take for fever blisters. Adhd and valtrex. Coupon valtrex. Valtrex and drug saftey….
May 3rd, 2009 at 10:13 pm
Paracetamol….
Paracetamol….
May 4th, 2009 at 10:48 am
Ativan….
Ativan weight gain. Ativan caffeine….
May 5th, 2009 at 12:28 am
Klonopin….
Klonopin withdraw. Klonopin. Klonopin and alcoholics….
May 5th, 2009 at 10:07 am
Allergic symptoms signs codeine….
Codeine….
May 5th, 2009 at 11:07 pm
Tramadol….
Tramadol….
May 6th, 2009 at 10:42 am
Tramadol….
Tramadol sr 100. Tramadol….
May 6th, 2009 at 10:32 pm
How long does percocet 7.5 stay in your system….
Percocet without a prescription cheap. Percocet. Buy percocet online without office visit….
May 7th, 2009 at 11:35 am
Tramadol side effects….
Tramadol….
May 8th, 2009 at 1:55 am
Liquid codeine how to make….
Codeine vicodin. Brain and codeine….
May 8th, 2009 at 2:31 pm
Klonopin….
Librium vs klonopin. Klonopin generic. Klonopin….
May 8th, 2009 at 10:30 pm
Klonopin….
Klonopin side effects. Klonopin for sleep….
May 9th, 2009 at 10:01 am
Rivotrill….
Rivotrill….
October 15th, 2009 at 5:08 pm
dkljamrcwvogb tourists…
dkljamrcwvogb senators colts developers pages coots toads stem sales security sailors husbands prose capons men trees athletes goshawks preachers referees trout servants actors mountains boys circuits managers grouse children cyclists directors…
October 17th, 2009 at 3:19 am
drugstore cowboy movie review online chemistry calculator…
seasonale generic price canadian online pharmacy alesse birth control cost types contraception online pharmacy ventolin online pharmacy perth best online drugstore oral contraceptives online pharmacy prescription hydrocodone canadian drug store…
October 17th, 2009 at 4:57 am
online pharmacy prescription oxycontin isotretinoin online…
diazepam online pharmacy order tramadol cash delivery rising cost prescription drugs best online pharmacy reviews drug fioricet canadian drug store reviews pain meds online pharmacy prescription oxycontin cheap prescription drugs online pain…
October 17th, 2009 at 5:38 am
bodybuilding supplements online vitamin world reviews buy…
online vitamins and supplements antioxidants benefits p90x supplements review vitamin e antioxidants herbal supplements for weight loss antioxidant supplements discount vitamins vitamins and minerals vitamin d vitamins online vitamin shoppe reviews…
October 17th, 2009 at 6:01 am
neutrogena anti wrinkle cream reviews mederma coupon estee…
neutrogena anti wrinkle cream reviews mederma reviews for stretch marks olay skin care reviews mederma scars review skin care reviews dermatologist mederma coupon jack black skin care reviews skin care reviews acne mederma acne scars review lifecell…
October 17th, 2009 at 6:09 am
pain management ranitidine zoloft price buspar withdrawal…
get prescription drugs online pain relief online pharmacies generic isotretinoin contraceptives benazepril side effects online drugstore reviews pain medication flonase nasal spray online pharmacist best rated online pharmacies oxcarbazepine atenolol…
October 17th, 2009 at 6:28 am
frankincense essential oils healing herbs mountain rose…
best herbs chinese herbs for weight loss health herbs vitamins herbs depression herbs for depression herbs plants online uric acid reduction herbs herbs for kids herbs for kids products aromatherapy oils wholesale herbs plants herbs online store…
October 17th, 2009 at 7:44 am
viagra canada online pharmacy online pharmacy hydrocodone…
non prescription online pharmacy canadian prescription drugs online basic chemistry review mail order prescription drugs best online pharmacy foreign drug store online online pharmacy technician programs discount prescription drugs online free online…
October 17th, 2009 at 8:52 am
canadian drug store reviews pain pills natural pain relief…
best online pharmacy pain pills online prescription upper back pain relief fioricet with codeine online generics online pharmacy canadian drug store reviews best online pharmacies pain pills online pharmacy valium pain management best online…
October 17th, 2009 at 9:53 am
intense pulsed light hair removal review legitimate online…
nair pretty hair removal spray review smooth away hair removal reviews hair removal wax reviews best online pharmacies without prescription online chemistry tutorials online pharmacy ventolin laser hair removal atlanta cost online pharmacy generic…
October 17th, 2009 at 9:55 am
forex micro broker forex brokerage reviews forex killer…
forex review blog forex trading signals forex trading online india global forex trading review forex trading review forex micro lot review forex online brokers buy currency online barclays retail forex trading automated forex trading software reviews…
October 17th, 2009 at 9:59 am
online pharmacy diet pills diet pills without side effects…
green tea diet pills purchase alli diet pills hoodia weight loss patch review obesity online weight loss hypnosis weight loss plan free online slimquick hoodia for women reviews diet pills weight loss supplements for men metabolic weight loss reviews…
October 17th, 2009 at 12:25 pm
skin care mederma acne scars review best skin care products…
arbonne skin care reviews anti wrinkle product mederma skin care for scars acne reviews mederma gel review estee lauder skin care reviews mederma cream review mederma acne scars review mederma reviews acne men skin care products reviews mederma…
October 17th, 2009 at 12:28 pm
adipex diet pills reviews acai berry supreme reviews acai…
weight loss supplements reviews adipex diet pills reviews levothyroxine weight loss acai berry diet review acai berry supplements reviews pure acai berry reviews clenbuterol weight loss reviews acai berry diet pills cost weight loss guide for women…
October 17th, 2009 at 1:06 pm
debt solutions reviews debt consolidation programs reviews…
debt solutions reviews debt settlement services reviews debt relief debt solutions reputable debt settlement companies credit card debt debt consolidation debt relief debt consolidation programs reviews online debt consolidation loans best debt…
October 17th, 2009 at 1:39 pm
online pharmacies not requiring a p walgreens online…
online pharmacies not requiring a p online pharmacy generic viagra creighton online pharmacy school get prescription drugs online online pharmacy pain triphasil birth control online pharmacy reviews hydrocodone adderall online pharmacy online…
October 17th, 2009 at 2:01 pm
prescription drugs boots online pharmacy drugstore cowboy…
online pharmacy soma legitimate online pharmacy drugstorecom reviews online chemistry tutorial aviane reviews fake online pharmacies college chemistry experiments online pharmacy schools cialis online pharmacy canada prescription drugs prescription…
October 17th, 2009 at 2:12 pm
medical supplies manufacturers medical supplies stores…
medical supplies bed pads discount medical supplies online medical office supplies canada medical supplies online stevens home medical supplies medical supplies canada medical supply company medical supplies manufacturers medical suppliers medical…
October 17th, 2009 at 3:27 pm
stealth forex trading system review mini forex account forex…
forex signal review automated forex trading software reviews money market mini forex account fxcm forex review retail forex broker buy currency online free delivery fx trading saxo bank forex review acm forex reviews forex trading made review forex…