Search Results

Search: Posts Made By: RudiC
13,975
Posted By RudiC
There's NO string like "reached" in your samples,...
There's NO string like "reached" in your samples, nor semicolons. Those don't show up in my host calls, either. Replace ! /^Host/ with /domain/ or /name/ or /pointer/. If that doesn't help, show...
13,975
Posted By RudiC
Not sure what either file's contents is. For the...
Not sure what either file's contents is. For the original file, try



awk '! /^Host/ {split ($1, T1, "\."); split ($NF, T2, "\."); print T1[1], T2[1]}' nameserver2.txt
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 07:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy