<div dir="ltr"><span style>Hi,</span><div style><br></div><div style>maybe it&#39;s because of your bash version?</div><div style>I messed around with wget lately, and saw somewhere written that some things will work only on bash 4 and above.</div>
<div style>I don&#39;t know bash that well so I don&#39;t know whether this is the issue or I just said something stupid...</div><div style>What I did was:</div><div style>wget <a href="http://website.com/FILE-%7B1..20%7D" target="_blank" style="color:rgb(17,85,204)">http://website.com/FILE-{1..20}</a></div>
<div style>That makes wget download all 20 files called FILE-NUMBER and that have consecutive numbers on their name (NUMBER).</div><div style>So it was written somewhere that it works only on bash 4 and above.</div><div style>
<br></div><div style>Ori.</div><br><div class="gmail_quote">On Sun, May 6, 2012 at 12:36 PM, vordoo <span dir="ltr">&lt;<a href="mailto:vordoo@yahoo.com" target="_blank">vordoo@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
    
  
  <div style="direction:ltr" text="#000000" bgcolor="#FFFFFF">
    Got a working script, on an ubuntu box, that will not run on arch.
    It stops on:<br>
     <br>
    ip_page=$(wget -q -O -
    <a href="http://$router_username:$router_pass@192.168.1.1/Status_Router.asp" target="_blank">http://$router_username:$router_pass@192.168.1.1/Status_Router.asp</a>)<br>
     <br>
    Running in a terminal:  <br>
    wget -q -O -
    <a href="http://$router_username:$router_pass@192.168.1.1/Status_Router.asp" target="_blank">http://$router_username:$router_pass@192.168.1.1/Status_Router.asp</a><br>
    OR <br>
    wget -q -O --user=&quot;xxx&quot; --password=&quot;xxx&quot; -
    <a href="http://192.168.1.1/Status_Router.asp" target="_blank">http://192.168.1.1/Status_Router.asp</a><br>
    <br>
    Will not work either.<br>
    <br>
    Any help appreciated.<br>
    <br>
    Thanks!<br>
  </div>


<br>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><br></div>