Re: Grepping to remove text & code

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 55805
interpreted = N
texte = Sounds like a job for a creative use of [middle] rather than [grep] - brian On Jan 30, 2004, at 10:18 AM, Gary Krockover wrote: > Hi all, > > Can I use a [grep] to strip all characters up to a point, leaving > others intact, such as: > > [quote]Originally posted by: gjk:
(leave > this alone) > > and a bunch of other code.... > (strip all of this) > > The rest of the code/text (leave this alone) > > This opening table will always be the start of the strip: > > > and that comment will always be the end: > > > What's in between is the same table but with different values, so a > super large converwords won't work here. > > If it helps, I can add some unique character or combination at the > start/end of the strip.... > > Any hope? > > GK > -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com -- ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Grepping to remove text & code ( Gary Krockover 2004)
  2. Re: Grepping to remove text & code ( Gary Krockover 2004)
  3. Re: Grepping to remove text & code ( Brian Fries 2004)
  4. Re: Grepping to remove text & code ( devaulw@onebox.com 2004)
  5. Grepping to remove text & code ( Gary Krockover 2004)
Sounds like a job for a creative use of [middle] rather than [grep] - brian On Jan 30, 2004, at 10:18 AM, Gary Krockover wrote: > Hi all, > > Can I use a [grep] to strip all characters up to a point, leaving > others intact, such as: > > [quote]Originally posted by: gjk:
(leave > this alone) > > and a bunch of other code.... > (strip all of this) > > The rest of the code/text (leave this alone) > > This opening table will always be the start of the strip: > > > and that comment will always be the end: > > > What's in between is the same table but with different values, so a > super large converwords won't work here. > > If it helps, I can add some unique character or combination at the > start/end of the strip.... > > Any hope? > > GK > -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com -- ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Brian Fries

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

A little syntax help (1997) Fufillment e-mail? (1998) Sorting a [listfiles] (2003) Quitting WebMerchant ? (1997) Bug Report, maybe (1997) Fwd: [ANNOUNCE] BIAP W*API Patch plug-in (1998) READFILE command? (1998) Webcatalog/Butler (1998) Include a big block of text (1997) [CART] inside a [LOOP] (1997) oops private message leaked into talk list (1997) Serving images from databases (1998) Sku numbers (1997) [WebDNA] Group results but continuous (2016) emailer (1997) NT BETA BUG???? (1997) credit card authorization question (1997) OT: Poll Results (2002) Error Log.db --however (1997) It just Does't add up!!! (1997)