[LUGOS] html povezave iz dokumenta

Kostko kostko at jweb-network.net
Sat Apr 26 18:20:46 CEST 2003


hvala, deluje.

On Sat, 2003-04-26 at 18:13, Aleksander Kmetec wrote:
> Spodnjo kodo shrani v linki.pl; uporaba:
> cat file_z_linki.html | perl linki.pl
> 
> LP
> 
> #----------------------------
> 
> #!/usr/bin/perl
> 
> while (<>) {
> 	if ($_ =~ /<a href="([^"]+)">/) {
> 		print $1 . "\n";
> 	}
> }
> 
> #----------------------------

-- 
Kostko <kostko at jweb-network.net>
JWeb-Network




More information about the lugos-list mailing list