Computing.Net > Forums > Linux > Shell script read from file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Shell script read from file

Reply to Message Icon

Name: James
Date: December 17, 2002 at 08:43:38 Pacific
OS: cygwin
CPU/Ram: 1ghz/1GB
Comment:

I have generated a list of urls in a text file, the urls are seperated by a comma.

I need a SHELL SCRIPT to read in each line of the text file and then wget the urls until the end of the file.

Please help

bad description above heres some pseudocode:

readin input_file

do until endoffile
{ urltoget = readline
wget urltoget
}

Cheers



Sponsored Link
Ads by Google

Response Number 1
Name: james
Date: December 18, 2002 at 04:15:02 Pacific
Reply:

Its ok ive done it now. Cheers


1
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Shell script read from file

Shell script 2 accept file/dir name www.computing.net/answers/linux/shell-script-2-accept-filedir-name/22197.html

Shell Script to rename files www.computing.net/answers/linux/shell-script-to-rename-files/28394.html

Shell Script Question www.computing.net/answers/linux/shell-script-question/15096.html