The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
need to invoke a shell script from xml file. sais UNIX for Dummies Questions & Answers 2 05-19-2008 10:01 AM
Variable for User Comment gseyforth Shell Programming and Scripting 2 03-09-2007 11:01 AM
making url's clickable Terrible Shell Programming and Scripting 4 08-04-2006 12:32 AM
Need to add a comment line in a text file orakhan Shell Programming and Scripting 2 09-22-2005 05:36 PM
# comment rocker40 UNIX for Dummies Questions & Answers 6 01-07-2004 09:53 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 08-22-2007
gsp gsp is offline
Registered User
 

Join Date: Jul 2007
Posts: 8
Invoke URL's from file and comment with # symbol which are not working

Hi All,


my intention is read urls from a file (what ever url's it may be) but the url's which are not opening i.e which displays 404 , page not found error and so on should be commented in the file with # symbol.


for the correct url's : nothing to be done(except script should validate whether the url is working or not)

for the wrong urls's : script should place a # symbol infront of the url in a file
example: # http://yahoommail.com/


Kindly help me out with a script...... pls
Google The UNIX and Linux Forums
Forum Sponsor
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:30 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0