bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] How to disable reading or settings in .wgetrc?


From: L A Walsh
Subject: Re: [Bug-wget] How to disable reading or settings in .wgetrc?
Date: Thu, 01 Jun 2017 19:30:01 -0700
User-agent: Thunderbird


Avinash Sonawane wrote:
"Affirmative options can be negated by prepending the --no- to the
option name; negative options can be negated by omitting the --no-
prefix.
---

Tried that, but I used the 'no' prefix, as in --noconvert-links.
"no-" isn't really an english prefix. What would happen if wget allowed specifying 'no' in addition to its current behavior?

BTW, --noconfig doesn't work, (--config is affirming you want a
specific config file, no)?


Dale R. Worley wrote:
Avinash Sonawane <address@hidden> writes:
BTW if you want to ignore .wgetrc altogether (which seems to be
indicated by the subject line) then you have:

$ man wget

"--config=FILE
           Specify the location of a startup file you wish to use."

So in that case you need to use --config (without any value) on the
command line.
---
        Why not --noconfig?


Actually, it means you could use "--config=/dev/null".  The
documentation does not suggest that --config is valid without a value.

-----

I tried it with --config="" and it didn't like that
(file not found).  I thought about /dev/null -- but thought that
would certainly be illegal.  I would have thought /dev/zero to
be about as likely.

Seems like that should have cleared the config file as well,
since "" is hardly a valid filename.

Anyway, after trying what I thought were logical options, prefix, 'no', clearing config name, I wrote a note here.

It's not like I didn't read the man page, but I may have looked
at the section on switches, and not all the other, "unrelated" text....(if it was related to one of the switches, wouldn't it be
mentioned w/that switch?)... (*sigh*)


Tnx,
Linda








reply via email to

[Prev in Thread] Current Thread [Next in Thread]