<link> not clickable from text document

THUFIR HAWAT hawat.thufir at gmail.com
Sun Jul 31 14:47:17 UTC 2005


On 7/31/05, Alexander Dalloz <ad+lists at uni-x.org> wrote:
...
> sed 's|^http://\(.*\)/|<a href="\1">\1</a>|g; s|href="|href="http://|g'
> linklist.txt > clicklist.txt
> 
> Alexander


Thanks, Alexander.  I did:

[thufir at arrakis click]$
[thufir at arrakis click]$
[thufir at arrakis click]$
[thufir at arrakis click]$ date
Sun Jul 31 15:41:46 IST 2005
[thufir at arrakis click]$ pwd
/home/thufir/click
[thufir at arrakis click]$ ll
total 24
-rw-rw-r--  1 thufir thufir 5366 Jul 31 08:37 clicklist.txt
-rw-rw-r--  1 thufir thufir 5366 Jul 31 15:38 clicklist.txt.backup
[thufir at arrakis click]$ sed 's|^http://\(.*\)/|<a href="\1">\1</a>|g;
s|href="|href="http://|g'

linklist.txt > clicklist.txt

[thufir at arrakis click]$


about how long should this take?  I gave the command 60 seconds and
hit ctrl-c to cancel it.  examining clicklist.txt shows no change.

Aha, I might've provided faulty data.  The links aren't all of the form 

http://www.foo.com/

but more like

http://ipac3.vpl.ca/ipac20/ipac.jsp?uri=full=3100001~!1221436~!17&ri=42&aspect=basic_search&menu=search&source=~!horizon&profile=pac



is that the problem?




Thanks,

Thufir




More information about the fedora-list mailing list