LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-01-2020, 10:15 AM   #31
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,834

Rep: Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325

Quote:
Originally Posted by TashiDuks View Post
Just keep eye on this post.
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.
 
Old 06-01-2020, 10:21 AM   #32
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: Slackware
Posts: 1,849

Rep: Reputation: 792Reputation: 792Reputation: 792Reputation: 792Reputation: 792Reputation: 792Reputation: 792
Could be homework question...at least OP provided code in the first post - second one just asked for a solution.

Last edited by sevendogsbsd; 06-01-2020 at 10:22 AM.
 
Old 06-01-2020, 10:58 AM   #33
TashiDuks
Member
 
Registered: Sep 2010
Posts: 54

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
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.
Just keep eye on this post. (copy paste)
 
Old 06-01-2020, 11:05 AM   #34
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,834

Rep: Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325
Quote:
Originally Posted by TashiDuks View Post
Just keep eye on this post. (copy paste)
Figured as much, based on what you posted. Meaning you don't have an answer, but won't admit it.

Again, good luck; you'll need it.
 
Old 06-01-2020, 11:09 AM   #35
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,834

Rep: Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325
Quote:
Originally Posted by sevendogsbsd View Post
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.
 
1 members found this post helpful.
Old 06-01-2020, 11:14 AM   #36
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,606

Rep: Reputation: 4279Reputation: 4279Reputation: 4279Reputation: 4279Reputation: 4279Reputation: 4279Reputation: 4279Reputation: 4279Reputation: 4279Reputation: 4279Reputation: 4279
Quote:
Originally Posted by TashiDuks View Post
P.S. This question demands the bash script to be done with "wget", "curl" only.
Where did the question come from?

If this is homework, you should say that.
 
Old 06-01-2020, 11:20 AM   #37
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,834

Rep: Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325Reputation: 6325
Quote:
Originally Posted by dugan View Post
Where did the question come from? If this is homework, you should say that.
Asked the OP several times, dugan...all they did was get hostile when asked questions. Their other thread is nearly identical to this one.
 
Old 06-01-2020, 12:28 PM   #38
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_12{.0|.1}
Posts: 5,409
Blog Entries: 11

Rep: Reputation: 3359Reputation: 3359Reputation: 3359Reputation: 3359Reputation: 3359Reputation: 3359Reputation: 3359Reputation: 3359Reputation: 3359Reputation: 3359Reputation: 3359
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.
 
3 members found this post helpful.
  


Reply

Tags
bash, curl, wget


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Detecting wifi devices within a specified range jalakamkiran Linux - Networking 7 04-16-2020 06:53 AM
Bash script to ping a range or own IP-range ugurgazi Programming 13 05-02-2016 09:08 AM
[SOLVED] bash script reading specified lines from multiple files and concatenating into one TullyGirl Linux - Newbie 6 03-22-2013 10:29 PM
How to list file space usage estimate (du), SPECIFIED BY RANGE tsilok Linux - Newbie 6 10-24-2005 04:56 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration