Sponsored Content
Top Forums Shell Programming and Scripting [lynx dump] Order (by name/URL) Post 302305295 by aspire on Wednesday 8th of April 2009 12:50:03 PM
Old 04-08-2009
Thanks for your help quirkasaurus Smilie

$ lynx -dump Google > google.com

var change:
#!perl
$fin = "google.com";
....

script output:

Code:
.


.


                                   Google.


.


     _______________________________________________________.


.


.


.


Refers.


.


   1. http://images google com/imghp?hl=en&tab=wi


   2. http://maps google com/maps?hl=en&tab=wl


   3. http://news google com/nwshp?hl=en&tab=wn


   4. http://video google com/?hl=en&tab=wv


   5. http://mail google com/mail/?hl=en&tab=wm


   6. http://www google com/intl/en/options/


   7. http://www google com/url?sa=p&pref=ig&pval=3&q=http://www google com/ig0.000000hl  0en                          ource  0iglk&usg=AFQjCNFA18XPfgb7dKnXfKz7x7g1GDH1tg


   8. https://www google com/accounts/Login?continue=http://www google com/intl/en/&hl=en


   9. http://www google com/advanced_search?hl=en


  10. http://www google com/preferences?hl=en


  11. http://www google com/language_tools?hl=en


  12. http://www google com/intl/en/ads/


  13. http://www google com/services/


  14. http://www google com/intl/en/about html


  15. http://www google com/


  16. http://www google com/intl/en/privacy html

However i must also insert this code inside another bash script... (#!/usr/bin/bash) and i don't know perl :P

Thanks for your help Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

help, what is the difference between core dump and panic dump?

help, what is the difference between core dump and panic dump? (1 Reply)
Discussion started by: aileen
1 Replies

2. UNIX for Advanced & Expert Users

url calling and parameter passing to url in script

Hi all, I need to write a unix script in which need to call a url. Then need to pass parameters to that url. please help. Regards, gander_ss (1 Reply)
Discussion started by: gander_ss
1 Replies

3. Shell Programming and Scripting

url calling and parameter passing to url in script

Hi all, I need to write a unix script in which need to call a url. Then need to pass parameters to that url. please help. Regards, gander_ss (1 Reply)
Discussion started by: gander_ss
1 Replies

4. UNIX for Dummies Questions & Answers

ReDirecting a URL to another URL - Linux

Hello, I need to redirect an existing URL, how can i do that? There's a current web address to a GUI that I have to redirect to another webaddress. Does anyone know how to do this? This is on Unix boxes Linux. example: https://m45.testing.address.net/host.php make it so the... (3 Replies)
Discussion started by: SkySmart
3 Replies

5. UNIX for Dummies Questions & Answers

Trying to make fixtures table with lynx --dump and pipe filters

Hey, I'm trying to make a nice clear table of fixtures. lynx --dump Fixtures & Reports | Fixtures | Arsenal.com | tail -n+360 | less #tail to remove 1st 360 line I'm trying to remove the 'Add to Calendar' bit next I tried pipping through sed but not sure if I did it right sed 's/\Add... (3 Replies)
Discussion started by: 64mb
3 Replies

6. Shell Programming and Scripting

lynx --dump on site that needs username and password??

I'm trying to use lynx --dump to keep an eye on updates for a website. The site needs a username and password and I can't find a way to log in using lynx --dump Any ideas?? Thanks in advance! (12 Replies)
Discussion started by: 64mb
12 Replies

7. Web Development

Regex to rewrite URL to another URL based on HTTP_HOST?

I am trying to find a way to test some code, but I need to rewrite a specific URL only from a specific HTTP_HOST The call goes out to http://SUB.DOMAIN.COM/showAssignment/7bde10b45efdd7a97629ef2fe01f7303/jsmodule/Nevow.Athena The ID in the middle is always random due to the cookie. I... (5 Replies)
Discussion started by: EXT3FSCK
5 Replies

8. UNIX for Dummies Questions & Answers

Awk: print all URL addresses between iframe tags without repeating an already printed URL

Here is what I have so far: find . -name "*php*" -or -name "*htm*" | xargs grep -i iframe | awk -F'"' '/<iframe*/{gsub(/.\*iframe>/,"\"");print $2}' Here is an example content of a PHP or HTM(HTML) file: <iframe src="http://ADDRESS_1/?click=5BBB08\" width=1 height=1... (18 Replies)
Discussion started by: striker4o
18 Replies

9. UNIX for Dummies Questions & Answers

Read URL data from UNIX without wget,curl,lynx,w3m.

Hi Experts, Problem statement : We have an URL for which we need to read the data and get parsed inside the shell scripts. My Aix has very limited perl utility, i cant install any utility as well. Precisely, wget,cURL,Lynx,w3m and Lwp cant be used as i got these utilities only when i googled... (0 Replies)
Discussion started by: scott_cog
0 Replies

10. Shell Programming and Scripting

Reading URL using Mechanize and dump all the contents of the URL to a file

Hello, Am very new to perl , please help me here !! I need help in reading a URL from command line using PERL:: Mechanize and needs all the contents from the URL to get into a file. below is the script which i have written so far , #!/usr/bin/perl use LWP::UserAgent; use... (2 Replies)
Discussion started by: scott_cog
2 Replies
GWAKEONLAN(1)						      General Commands Manual						     GWAKEONLAN(1)

NAME
gWakeOnLan - Wake up your machines using Wake on LAN. SYNOPSIS
gwakeonlan [options] DESCRIPTION
gWakeOnLan is a A GTK+ utility to awake turned off computers through the Wake on LAN feature. The machines to turn on need to be shut off with the Wake on LAN magic packet enabled. Linux environments can enable this using: ethtool -s <nic device> wol g OPTIONS
This program follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. -h, --help Show summary of options -v, --verbose Show all error and information messages -q, --quiet Hide all error and information messages FILES
Hosts list will be kept under ~/.gwakeonlan REPORTING BUGS
Report bugs to http://code.google.com/p/gwakeonlan/issues/list AUTHORS
gWakeOnLan was written by Fabio Castelli <muflone@vbsimple.net> HOMEPAGE
International project: http://code.google.com/p/gwakeonlan/ Italian project: http://ubuntrucchi.wordpress.com/progetti-projects/gwakeonlan/ COPYRIGHT
Copyright (C) 2010 Fabio Castelli. License GPLv2+: GNU GPL version 2 or later <http://www.gnu.org/licenses/gpl-2.0.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. January 16, 2010 GWAKEONLAN(1)
All times are GMT -4. The time now is 03:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy