Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove numbering from "lynx --dump -listonly"

$ lynx --dump -listonly index.html

Example result:

References

Visible links
1. http://lynx.invisible-island.net/
2. http://lynx.invisible-island.net/lynx.html
3. http://lynx.invisible-island.net/current/index.html

What I want to do is remove the 1. 2. and 3. "References" and "Visible Links" text included.

Wanted Result:

http://lynx.invisible-island.net/
http://lynx.invisible-island.net/lynx.html
http://lynx.invisible-island.net/current/index.html
like image 482
Caucasian Malaysian Avatar asked Dec 13 '22 17:12

Caucasian Malaysian


1 Answers

You can use -nonumbers option of Lynx

lynx --dump -nonumbers -listonly http://lynx.invisible-island.net/
like image 196
poboxy Avatar answered Dec 24 '22 03:12

poboxy