Hallo, Am Fri, 25 Sep 2020, Joachim H. schrieb:
PING xyz.fritz.box (192.168.178.39) 56(84) bytes of data. 64 bytes from xyz.fritz.box (192.168.178.39): icmp_seq=1 ttl=128 time=0.398 ms
1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.398/0.398/0.398/0.000 ms
wie extrahiere ich (mit regex) aus obigem Text die IP?
Nimm doch einfach: dig +short xyz.fritz.box @192.168.178.1 HTH, -dnh -- Please do not think so much about licenses, it will just make your head explode if not carefully studied over the years ;) -- Marcus Meissner, in opensuse-packaging -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um den Listen Administrator zu erreichen, schicken Sie eine Mail an: opensuse-de+owner@opensuse.org