View Single Post
Old 26 January 2023, 23:52   #1
shelter
Registered User
 
Join Date: Nov 2022
Location: #Amigaland
Posts: 156
How do I get the IP from this output?

I've been trying to find some information on how to "parse" text, I usually manage to figure things out but not this time.
I just want the IP from roadshow, all I've found is ShowNetStatus which outputs this:

Network status summary
Local host address = 192.168.100.13 (on interface 'Prism2')
Default gateway address = 192.168.100.1
Domain name system servers = 192.168.100.1, 192.168.100.1

But how do I script so it just outputs the IP (host address)?

Last edited by shelter; 27 January 2023 at 14:14.
shelter is offline  
 
Page generated in 0.04222 seconds with 11 queries