Hi all,
I have a set of dns zone text files in "bind" format. On the fourth
line there is a 10 digit timestamp (ignoring white space, the first
field). There is no way to predetermine the value so search and replace
by value is a no go and seems to require some positional approach such
as "line 4, first 10 digit field".
What is the easiest way to replace each of them with the same value,
$(date +%s) ?
My sed|awk foo is weak.
Any takers?
TIA,
Mike Wright
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx