[Q] Need help with grep expression

From: Eric (egusenet_at_verizon.net)
Date: 01/31/05


Date: Mon, 31 Jan 2005 01:31:08 GMT

I'm sure it's possible, but I can't figure it out...

Given a line of text, I need to convert all of the spaces between quote
marks to an underscore character.

One can consider the end of the line to be a closing quote mark if they
are not balanced.



Relevant Pages

  • Re: Re: thoughts on Jesus
    ... that my religious beliefs are absolutely impossible, ... You have made up stuff that I didn't say and put it into quote marks as ... unless there is an explicit reason to do otherwise.Any reader who hadn't ...
    (talk.origins)
  • Re: my cowboy on my filly videos
    ... If you can't or won't configure or change your software properly quote text for you automagically, Please take a few seconds to insert quote marks manually. ... Do NOT use your mouse to move the cursor - use the arrows - it goes MUCH faster once you get the technique down. ... ObHorses: I remember reading a horse novel where one of the grooms would brush the horse from front to back without taking the time to change the direction of the brush strokes where the hair whirls on the horse's flanks. ...
    (rec.equestrian)
  • Re: When to use "affect" vs "effect" (lay vs lie, who vs whom, fewer vs less), e
    ... > Other punctuation marks follow the sense of the sentence, ... > marks go inside if they belong to the quote and outside if they belong ... > to the sentence the quote is in. ... the effect of the bang is not affected by the moniker we give ...
    (sci.lang)
  • Re: When to use "affect" vs "effect" (lay vs lie, who vs whom, fewer vs less), e
    ... >>inside the quotation mark, not outside. ... Other punctuation marks follow the sense of the sentence, ... marks go inside if they belong to the quote and outside if they belong ...
    (sci.lang)
  • Re: Muggy, Im Confused
    ... against the wall as he refused to see reason. ... mode and what he's saying doesn't make sense. ... I see marks when you quote but not when he does. ...
    (rec.sport.rugby.union)