Make option parsing compatible with wget
Currently,
$ echo "http_proxy" > ~/.wget2rc
$ wget2 https://rootkea.me
Unknown option 'http'
-
Linear search is unnecessary. Comparison with ignoring
-
and_
can be done in compare function ofbsearch
$ info wget
...
The commands are case-, underscore- and minus-insensitive. Thus
‘DIr__PrefiX’, ‘DIr-PrefiX’ and ‘dirprefix’ are the same.
...
I have made .wget2rc commands case-insensitive. Also now consecutive _
and -
are ignore for .wgetrc commands so are now truly minus- and underscore-insensitive.
Edited by username-removed-791447