Grepping a hostname
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 47000
interpreted = N
texte = I need to extract the hostname from a URL, and I'm assuming that grep is the best way to do it,As I'm a complete grep novice, I'd appreciate any pointers where to start.Example:host.domain.dom - I need to extract host (this will be variable in length)Thanks.-------------------------------------------------------------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:
I need to extract the hostname from a URL, and I'm assuming that grep is the best way to do it,As I'm a complete grep novice, I'd appreciate any pointers where to start.Example:host.domain.dom - I need to extract host (this will be variable in length)Thanks.-------------------------------------------------------------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/
Mark Derrick
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:
Pithy questions on webcommerce & siteedit (1997)
WebCat2.0 acgi vs plugin (1997)
CGI Request Time Out (1997)
WebCatalog Special <-- from SMSI (2001)
And/or Search (1998)
[WebDNA] Combining searches with blank and zero values? (2011)
WebCatalog can't find database (1997)
$Quit, $CloseDatabase corrections (1997)
Not really WebCat - need HTML Grider (1997)
Showif probably dumb question (1997)
Type 2 errors with WebCatalog.acgi (1997)
RE: E-mailer error codes (1997)
Two SynchThreads prefs (2000)
RE: too many nested [xxx] (1997)
email error (2003)
Vann's - nice new WebCatalog site (1998)
PIXO support (1997)
Only charge card when product shipped ? (1997)
webcat restarting script on Linux? (1999)
WebMerchant 1.6 and SHTML (1997)