The UNIX and Linux Forums
>
Top Forums
>
UNIX for Advanced & Expert Users
script to open the specified url in a browser from a text file
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
script to open the specified url in a browser from a text file
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
08-22-2007
cbkihong
Moderator
Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,490
If you use
Perl
to do it, it would require a simple while() loop and a call to LWP module to get the HTTP headers. It is likely more reliable as it does not need to parse the "messy" output of wget or any other similar command line tools.
cbkihong
View Public Profile
Visit cbkihong's homepage!
Find all posts by cbkihong