Re: Grep and <>

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61193
interpreted = N
texte = Well, I seem to have figured out my problem. grep is apparently case sensative! I have uppercase P's in the code I want to change and I had lowercase p's in the grep statement. Moving on now! Thanks, Larry Goodhew > Hello all, > > I am trying to use grep for the first time and running into a problem with the > characters '<' and '>'. I can't seem to find any documentation on how to > specify that I want to find them along with a 'p'. I looked up regular > expressions and none of the online resources list these two characters as > metacharacters. > > I did find a resource that said that \< and \> are start of word and end of word > respectively in GNU grep and GNU emacs. I did verify that they have this > functionality in WebDNA's version of grep. > > I wish to match things like '

' and replace with '

' but when I > try to match even just ' unknown, (to me), metacharacter. I can't seem to find any documentation to tell > me how to go about this. > > Thanks, > > Larry Goodhew > > > > ------------------------------------------------------------- > 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/ > > ------------------------------------------------------------- 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: Grep and <> ( Grant Hulbert 2005)
  2. Re: Grep and <> ( Rob Marquardt 2005)
  3. Re: Grep and <> ( "Larry Goodhew" 2005)
  4. Re: Grep and <> ( "Larry Goodhew" 2005)
  5. Re: Grep and <> ( Rob Marquardt 2005)
  6. Re: Grep and <> ( Donovan Brooke 2005)
  7. Grep and <> ( "Larry Goodhew" 2005)
Well, I seem to have figured out my problem. grep is apparently case sensative! I have uppercase P's in the code I want to change and I had lowercase p's in the grep statement. Moving on now! Thanks, Larry Goodhew > Hello all, > > I am trying to use grep for the first time and running into a problem with the > characters '<' and '>'. I can't seem to find any documentation on how to > specify that I want to find them along with a 'p'. I looked up regular > expressions and none of the online resources list these two characters as > metacharacters. > > I did find a resource that said that \< and \> are start of word and end of word > respectively in GNU grep and GNU emacs. I did verify that they have this > functionality in WebDNA's version of grep. > > I wish to match things like '

' and replace with '

' but when I > try to match even just ' unknown, (to me), metacharacter. I can't seem to find any documentation to tell > me how to go about this. > > Thanks, > > Larry Goodhew > > > > ------------------------------------------------------------- > 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/ > > ------------------------------------------------------------- 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/ "Larry Goodhew"

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:

Interfacing WebMerchant to www.fedex.com (1997) emptying shopping carts and orders folder (2004) Rename file (2005) Another Excel Problem (2003) Shipping still a problem!! (1998) If Empty ? (1997) Tax on shipping (1998) New Weird Behavior (bug report) (2000) problem: search crashes webstar (1997) Open Source (2000) [WebDNA] anyone have a good tcpconnect post snippet? (2009) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) RE: Contexts and Ampersands (1997) problems with 2 tags (1997) WebCat2: Found Items syntax, etc. (1997) autosensing lanague selection (1997) Sorting Numbers (1997) Reports of ErrorLog.txt not being written in Linux (2000) [OT] Appropriate Signature??? (2003) [WriteFile] problems (1997)