[Top][All Lists]

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

[Bug-wget] multiple constant parameters

From: Szépe Viktor
Subject: [Bug-wget] multiple constant parameters
Date: Sun, 01 Jun 2014 21:04:34 +0200
User-agent: Internet Messaging Program (IMP) H5 (6.1.7)

Good morning!

I'd like to use multiple constant parameters like

wget -U "$UA" --header="Secret-Key: ${HC_SECRETKEY}" etc.

Is there a way to set defaults WITHOUT a wgetrc file?

I resist to put a secret key ibto a file.
I use wget a lot in a shell script. It is not easy to change (add/remove new parameters) these every time.

As a last resort I put wget with defaults into a function.
Thank you!!

Szépe Viktor
+36-20-4242498  address@hidden  skype: szepe.viktor
Budapest, XX. kerület

reply via email to

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