Bugzilla – Bug 206
no need to use any grep when also using awk
Last modified: 2008-08-13 08:30:38 CEST
Created attachment 79 [details]
avoid unnecessary egrep process when using awk in iana_update
egrep is used unnecessarily in the iana_update target of the top-level Makefile.
(note the attached patch also shows how to use the NetBSD ftp to fetch the port-numbers file since the native ftp client has that ability, thus avoiding non-standard utilities -- NetBSD ftp is available for other systems and is already integrated as the native ftp client on a number of other systems)
Thanks! Applied to trunk.
my linux ftp doesn't work with http://, so I'll keep using curl.
If it were possible to detect NetBSD-ness of ftp easily, a shell if statement could be used to select ftp on NetBSD.
Anyway, awk is nicer, I'll close this bug.
Let me know of further improvements :-)