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:
Order not created error (never mind) (1997)
AOL and [redirect] (2000)
cybercash (1998)
Running _every_ page through WebCat ? (1997)
Re1000001: Setting up shop (1997)
Nesting [RAW] (1998)
Carrying over data? (1997)
Wanted: Broader string manipulation functions (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Multiple edits/replacementsd to db. Possible? (1997)
Detecting NULL value in returned SQL (2000)
Moment of Thanks (1997)
b12 cannot limit records returned and more. (1997)
Quit revisited (1997)
SKU lookup (1997)
Shownext never shows next...still (1997)
Getting real time CC's out of Australia (1998)
Problem decrypting encrypted data on different machine (2000)
WC TableGrinder (1997)
TCP/IP connect (1998)