On Thursday, March 9, 2017 5:47:00 PM CET Félix Sipma wrote: > Hi! > > Would it be possible to add an environment variable to set the location of > the hsts-file (by default set to "~/.wget-hsts"), in addition to the > existing --hsts-file mechanism?
You are aware that you can put all options as 'commands' into a config file !? The default is ~/.wgetrc but you can override it with WGETRC env variable. If that isn't enough, you can override the above with --config=<file> (or --no- config). > It would help, to have a home free of configuration and data files. I try to > use $XDG_CONFIG_HOME and $XDG_DATA_HOME, but as wget does not seem to use > these variables yet, it would probably be simpler to just add an > environment variable for the hsts-file. Use WGETRC and specify 'hstsfile' in that config file to point somewhere outside the home dir. Tim
signature.asc
Description: This is a digitally signed message part.
