0
rated 0 times
[
0]
[
0]
/ answers: 1 / hits: 955
/ 3 Years ago, mon, july 19, 2021, 4:14:15
I have a list of domains matched and piped in through grep with various length but all match the last three records. I'm trying to output all of the non-qualified sub-domains.
I have:
awk -F'.' -v OFS='.' '{$(NF-3)=$(NF-2)=$(NF-1)=""; print $0}'
my output leaves trailing ...... on the output
Thanks
More From » awk