[SOLVED] Download a files from website with specified range using bash script.
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Huh...odd that you didn't post it already, since you say you have it. Should've been easy to copy/paste it while you've been posting about it several times now.
Huh...odd that you didn't post it already, since you say you have it. Should've been easy to copy/paste it while you've been posting about it several times now.
Could be homework question...at least OP provided code in the first post - second one just asked for a solution.
True, but the OP also didn't address any of their other issues (such as their output needs), and did no basic debugging. Just echoing the $i to the screen would have told them what's wrong, and they ostensibly have ten year experience, four of which involving shell-scripting. And according to them, they're going to post their solution in their other thread. Been back three times to say that...making it even more odd they couldn't just POST IT, rather than say they will.
They showed little to no effort in either post, and seem to have just expected a handout, and had the typical reply when asked for their own efforts.
Everyone please, do not respond unless your reply is on topic and adds something useful to the discussion.
@OP - Please review the Site FAQ for guidance in posting your questions and general forum usage.
I agree that your two recent questions on this subject are similar enough in what they ask and close enough in time that they are clearly closely related. As such the threads will be merged in order to help others follow the discussion and development of the question.
Also per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help.
Finally, personal attacks, name calling and general rudeness are also not permitted at LQ. Please review the Site FAQ and LQ Rules for guidance in proper use of the forums.
If you have other questions not answered in those links please contact us through contact links available on any page, or post to the Suggestions and Feedback forum.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.