The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 08-22-2007
gsp gsp is offline
Registered User
 

Join Date: Jul 2007
Posts: 8
Hi cbkihong,

to say i am not good in perl script, i am just a beginner, but i can understand the script written in perl with little bit of difficulty.....

so will u let me know the script .........(may be in perl as u told), then if it is possible suggest me how can i get rid of it using shell script.


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
Reply With Quote