The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
wget output question sertansenturk UNIX for Dummies Questions & Answers 1 04-19-2008 12:01 PM
Help with wget vadharah Shell Programming and Scripting 2 03-30-2008 02:42 AM
Wget Question ... Help! gseyforth Shell Programming and Scripting 0 02-04-2008 07:22 PM
wget help djembeplayer Shell Programming and Scripting 0 04-06-2007 10:33 AM
wget -r photon Shell Programming and Scripting 1 10-08-2004 04:03 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-02-2007
malaysoul malaysoul is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 12
wget question

Hi,

I need some guidance about wget. I am able to run the script as below;

Quote:
while do read staffid
wget "http://www.super.com/?txid=123456&staffid="$staffid"&status=success"
done < staffid.txt
which i have list of staff id in staffid.txt. But the problem is each staffid referred to the same txid ( in this case txid=123456). How i can insert unique txid for each staffid and run it?

Is it i need to list down all txid in one file? but how i can do that?
Or any other way run random txid?

-malaysoul-
  #2 (permalink)  
Old 02-02-2007
malaysoul malaysoul is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 12
anyone can help me?

Appreciated ur help.

-malaysoul-
  #3 (permalink)  
Old 02-04-2007
malaysoul malaysoul is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 12
I'm still waiting the solution. Please help me to solve the problem. TQ!!

-malaysoul-
  #4 (permalink)  
Old 02-04-2007
sb008 sb008 is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 384
#!/usr/bin/ksh

TXID=123456

while do read STAFFID
wget "http://www.super.com/txid=${TXID}&staffid="${STAFFID}"&status=success"
((TXID=${TXID}+1))
done < staffid.txt
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0