bash wget script problem
Ariel Bar David
ori at bardavid.org
Sun May 6 15:10:18 IDT 2012
Hi,
maybe it's because of your bash version?
I messed around with wget lately, and saw somewhere written that some
things will work only on bash 4 and above.
I don't know bash that well so I don't know whether this is the issue or I
just said something stupid...
What I did was:
wget http://website.com/FILE-{1..20}
That makes wget download all 20 files called FILE-NUMBER and that
have consecutive numbers on their name (NUMBER).
So it was written somewhere that it works only on bash 4 and above.
Ori.
On Sun, May 6, 2012 at 12:36 PM, vordoo <vordoo at yahoo.com> wrote:
> Got a working script, on an ubuntu box, that will not run on arch. It
> stops on:
>
> ip_page=$(wget -q -O -
> http://$router_username:$router_pass@192.168.1.1/Status_Router.asp)
>
> Running in a terminal:
> wget -q -O -
> http://$router_username:$router_pass@192.168.1.1/Status_Router.asp
> OR
> wget -q -O --user="xxx" --password="xxx" -
> http://192.168.1.1/Status_Router.asp
>
> Will not work either.
>
> Any help appreciated.
>
> Thanks!
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20120506/7674f18a/attachment-0001.html>
More information about the Linux-il
mailing list