Re: [WebDNA] Grep everything and replace with asterisks?

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105088
interpreted = N
texte = Agreed 100%. That is very elegant.. I was making commentary about [grep], not your solution :-) -Dan -------------------------------------------------- From: "Marc Thompson" Sent: Monday, March 22, 2010 11:46 AM To: Subject: Re: [WebDNA] Grep everything and replace with asterisks? > You asked for elegance, looks pretty elegant to me... > > Glad I could help > > Dan Strong wrote: >> Works, but wow is that counter-intuitive or what? I would see that and >> think >> that it literally is looking for periods to replace... ah the wonders of >> [grep]. Thanks, Marc. >> >> -Dan >> >> -------------------------------------------------- >> From: "Marc Thompson" >> Sent: Monday, March 22, 2010 11:39 AM >> To: >> Subject: Re: [WebDNA] Grep everything and replace with asterisks? >> >>> [grep search=.&replace=*]h4tdb!@6889gfd[/grep] >>> >>> Dan Strong wrote: >>>> I want to take a string and replace everything in it with asterisks. >>>> None of these work: >>>> >>>> [grep search=[*]&replace=*]h4tdb!@6889gfd[/grep] >>>> [grep search=[ ]&replace=*]h4tdb!@6889gfd[/grep] >>>> [grep search=[url][ ][/url]&replace=*]h4tdb!@6889gfd[/grep] >>>> >>>> I know how to do a grep that replaces all letters and numbers, but what >>>> about other symbols and such (@, etc.)? >>>> >>>> I suppose I could do a [countchars] on the input then replace with that >>>> many asterisks, but it just seems like this is exactly the kind of job >>>> that grep is for. >>>> >>>> Not terribly important, but now I'm curious how it can be done. >>>> >>>> Thanks, >>>> -Dan >>> -- >>> ------------------------------------------- >>> Marc Thompson >>> Software Engineer >>> Media Solutions >>> University Information Technology >>> University of Utah >>> 801.585.9264 >>> marc.thompson@utah.edu >>> ------------------------------------------- >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> old archives: http://dev.webdna.us/TalkListArchive/ >>> Bug Reporting: >>> http://forum.webdna.us/eucabb.html?page=topics&category=288 >>> >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> old archives: http://dev.webdna.us/TalkListArchive/ >> Bug Reporting: >> http://forum.webdna.us/eucabb.html?page=topics&category=288 > > -- > ------------------------------------------- > Marc Thompson > Software Engineer > Media Solutions > University Information Technology > University of Utah > 801.585.9264 > marc.thompson@utah.edu > ------------------------------------------- > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 > Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Grep everything and replace with asterisks? ("Terry Wilson" 2010)
  2. Re: [WebDNA] Grep everything and replace with asterisks? (Govinda 2010)
  3. Re: [WebDNA] Grep everything and replace with asterisks? ("Dan Strong" 2010)
  4. Re: [WebDNA] Grep everything and replace with asterisks? (Bob Minor 2010)
  5. Re: [WebDNA] Grep everything and replace with asterisks? ("Dan Strong" 2010)
  6. Re: [WebDNA] Grep everything and replace with asterisks? (Marc Thompson 2010)
  7. Re: [WebDNA] Grep everything and replace with asterisks? ("Dan Strong" 2010)
  8. Re: [WebDNA] Grep everything and replace with asterisks? (Marc Thompson 2010)
  9. Re: [WebDNA] Grep everything and replace with asterisks? ("Dan Strong" 2010)
  10. [WebDNA] Grep everything and replace with asterisks? ("Dan Strong" 2010)
Agreed 100%. That is very elegant.. I was making commentary about [grep], not your solution :-) -Dan -------------------------------------------------- From: "Marc Thompson" Sent: Monday, March 22, 2010 11:46 AM To: Subject: Re: [WebDNA] Grep everything and replace with asterisks? > You asked for elegance, looks pretty elegant to me... > > Glad I could help > > Dan Strong wrote: >> Works, but wow is that counter-intuitive or what? I would see that and >> think >> that it literally is looking for periods to replace... ah the wonders of >> [grep]. Thanks, Marc. >> >> -Dan >> >> -------------------------------------------------- >> From: "Marc Thompson" >> Sent: Monday, March 22, 2010 11:39 AM >> To: >> Subject: Re: [WebDNA] Grep everything and replace with asterisks? >> >>> [grep search=.&replace=*]h4tdb!@6889gfd[/grep] >>> >>> Dan Strong wrote: >>>> I want to take a string and replace everything in it with asterisks. >>>> None of these work: >>>> >>>> [grep search=[*]&replace=*]h4tdb!@6889gfd[/grep] >>>> [grep search=[ ]&replace=*]h4tdb!@6889gfd[/grep] >>>> [grep search=[url][ ][/url]&replace=*]h4tdb!@6889gfd[/grep] >>>> >>>> I know how to do a grep that replaces all letters and numbers, but what >>>> about other symbols and such (@, etc.)? >>>> >>>> I suppose I could do a [countchars] on the input then replace with that >>>> many asterisks, but it just seems like this is exactly the kind of job >>>> that grep is for. >>>> >>>> Not terribly important, but now I'm curious how it can be done. >>>> >>>> Thanks, >>>> -Dan >>> -- >>> ------------------------------------------- >>> Marc Thompson >>> Software Engineer >>> Media Solutions >>> University Information Technology >>> University of Utah >>> 801.585.9264 >>> marc.thompson@utah.edu >>> ------------------------------------------- >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> old archives: http://dev.webdna.us/TalkListArchive/ >>> Bug Reporting: >>> http://forum.webdna.us/eucabb.html?page=topics&category=288 >>> >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> old archives: http://dev.webdna.us/TalkListArchive/ >> Bug Reporting: >> http://forum.webdna.us/eucabb.html?page=topics&category=288 > > -- > ------------------------------------------- > Marc Thompson > Software Engineer > Media Solutions > University Information Technology > University of Utah > 801.585.9264 > marc.thompson@utah.edu > ------------------------------------------- > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 > "Dan Strong"

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:

Encyption mail was Suggestions for Topics ... (1998) Exporting from Excel (1998) WebDNA Writer Needed (1997) [WebDNA] OT: just poking (2010) Verifying both name and password (was: New Problem) (1997) Extended [Concvertchars] needed (1997) Editing the search string (1997) NetForms for mail, sorry (1998) AAgghh!! Help, please. SSL strikes again. (1997) RE: type 2 errors with ssl server (1997) WebDNA tags in WebMerchant email templates ... (1997) Bug Report, maybe (1997) taxTotal, grandTotal (1997) How true is this? (1999) Help! WebCat2 bug (1997) Anyone get webdna to run on apache 2.x on osx? (2006) Need help... (1997) What am I missing (1997) [WebDNA] "Technical Reference" link broken in admin (2013) Sort & Shownext (1999)