🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.lang.awk
Article #1

How to use variables in regular expression?

#1
From: Hiroshi Mitani ITRL DG6
Date: Mon, 02 Nov 1992 06:09
14 lines
1010 bytes
$@>>2<EE4o$N;0C+$H?=$7$^$9!#(J

awk $@$N%9%/%j%W%H$rAH$s$G$$$k$N$G$9$,!"%Q%?!<%sFb$N@55,I=8=$NCf$G(J
awk $@$NJQ?t$r;H$&J}K!$,$o$+$j$^$;$s!#(J
$@$7$+$?$,$J$$$N$G!":#$O!"%Q%?!<%sIt$H%"%/%7%g%sIt$rJ,$1$F!"(J

awk '$1 ~ /^'$key'/' file | awk -f script

$@$N$h$&$J$3$H$r$7$F$$$^$9!#$J$s$H$+#1$D$N%9%/%j%W%H$K$^$H$a$k$3$H$O(J
$@$G$-$J$$$G$7$g$&$+!)(J
$@$4B8CN$NJ}$,$$$i$C$7$c$$$^$7$?$i!"$I$&$>$h$m$7$/8f65<(4j$$$^$9!#(J
-- 
                                $@>>2<EE4o;:6H!J3t!K(J  $@1GA|8&5f=j(J
                                $@;0C+(J $@9@(J hmitani@e5.drl.mei.co.jp
Technical Details
Message-ID: <3458@maxwell.drl.mei.co.jp>
Path: arc1-ca.pugleaf.net!sparky!uunet!ccut!sh.wide!wnoc-kyo!hiroshima-u!hugw!icspub!oskgate0.mei!chorus.mei!maxwell!hmitani

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ccut!sh.wide!wnoc-kyo!hiroshima-u!hugw!icspub!oskgate0.mei!chorus.mei!maxwell!hmitani
From: hmitani@drl.mei.co.jp (Hiroshi Mitani ITRL DG6)
Newsgroups: fj.lang.awk
Subject: How to use variables in regular expression?
Message-ID: <3458@maxwell.drl.mei.co.jp>
Date: 2 Nov 92 06:09:49 GMT
Distribution: fj
Organization: Matsushita Electric Industrial CO., Ltd.  Osaka, Japan
Lines: 14