Newsgroups: fj.net.infosystems.www.authoring,fj.lang.perl
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!sinfony-news01!news.kddnet.ad.jp!news.dvlp.kddnet.ad.jp!news.cs.ritsumei.ac.jp!odins-suita!nuis!news.cc.nagoya-u.ac.jp!nfeed.gw.nagoya-u.ac.jp!vega2!ccsatoru
From: ccsatoru@vega.aichi-u.ac.jp (Satoru Takabayashi)
Subject: Re: URL bunri from html
Sender: news@vega2.aichi-u.ac.jp (News Master)
Message-ID: <EBrAq8.qr@vega2.aichi-u.ac.jp>
Date: Sat, 14 Jun 1997 08:10:56 GMT
Lines: 27
References: <5nl63u$5b7$1@nkgw.hq.nkc.co.jp>
Nntp-Posting-Host: vega
Organization: Aichi University Computer Center, Aichi University, Aichi, Japan.
X-Newsreader: mnews [version 1.20] 1996-12/08(Sun)
Xref: galaxy.trc.rwcp.or.jp fj.net.infosystems.www.authoring:248 fj.lang.perl:2073
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.lang.perl&nb=2073&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$B9bNS!w0&CNBg3X$H$b$&$7$^$9(B

fj.net.infosystems.www.authoring,fj.lang.perl$B$N(B
<5nl63u$5b7$1@nkgw.hq.nkc.co.jp>$B$N5-;v$K$*$$$F!$(B
JST$B;~4V(B1997$BG/(B06$B7n(B11$BF|(B($B?e(B) 12$B;~(B30$BJ,(B05$BIC:"!$(B
Tetsuo_Suzuki@mb1.nkc.co.jp$B$5$s$O=q$-$^$7$?!#(B

>html$B%U%!%$%k$NCf$+$i!"(B<A HREF=>$B%?%0$G<($5$l$k#U#R#L$r<h$j=P$7$?$$$N(B
>$B$G$9$,!"(Bperl$B$N%9%/%j%W%H$G!"$*$9$9$a$N$b$N$C$F$"$j$^$9$G$7$g$&$+!)(B

$B%3%^%s%I%i%$%s$+$i$J$i$P(B($B<B:]$K$O0l9T$G$9(B)

perl -pe 's/HREF="([^"]*)"/\n\x00$1\n/g' hogehoge.html | 
perl -ne 'if(s/^\x00(.*)/$1/){print "$1\n";}'

$B$N$h$&$K<B9T$9$l$P$G$-$^$9!#(B 
$B$?$@$7!"(B hogehoge.html $B$O(B EUC $B%3!<%I$G$J$1$l$P$J$j$^$;$s!#(B
$B$^$?!"$^$:$"$jF@$J$$$3$H$G$9$,!"(B \x00 (NUL) $B$,4^$^$l$F$$$k$H:$$j$^$9!#(B
$B$"$H!"%@%V%k%/%)!<%F!<%7%g%s$N@09g$,<h$l$F$$$J$$>l9g$b:$$j$^$9!#(B

# $B0l9T$KJ#?t$N(B <A HREF> $B$,$"$k$3$H$r9MN8$7$?$i$3$&$J$j$^$7$?!#(B
# $B$b$C$H%9%^!<%H$JJ}K!$,$"$k$+$b$7$l$^$;$s!#(B

--
$B0&CNBg3XL>8E20>pJs=hM}%;%s%?!<(B
$B9bNSE/(B ( Satoru Takabayashi )
e-mail:ccsatoru@vega.aichi-u.ac.jp
