[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: searching with XPL
- Subject: Re: searching with XPL
- From: "..." adpf@xxxxxxxx
- Date: Thu, 11 Dec 1997 14:56:04 -0500 (EST)
Hi, Stephen. Thanks for yr thanks.
As an afterthought, here's a little xyW3 xpl demo that should do the
whole job--and if not is easily expanded--built from !PROfile library
(url in sig) routines.
As written, !EN_CRNL changes all newlines (carriage return+linefeed)
temporarily to a unique char sequence, deletes remaining carriage
returns, and restores newlines in all files designated by the wildcard
path used as the !EN_CRNL CMline argument. You could easily change
procedure {is22} to do something different or more, using carriage return
and linefeed s/gs {is13} and {is10} or not--see annotation at the end.
In fact, most of the file is end notes, which I suggest deleting
(sad'ing to a separate file if they're of interest).
If you put the files with carriage return+newline line ends in an
exclusive subdir you could process them all by cd'ing to it and issuing
one
BC run [path\]!EN_CRNL *.* XC
(where BC=default kbd and XC=default ). Try it on a couple of
sample files. Ciao. ... yclept --a
=========================================== adpFisher nyc
http://www.escape.com/%7Eadpf/_xypro.html ===============================
section 1 of 1 of file !en_crnl < uuencode 95 (v40) by R.E.M. >
begin 644 !en_crnl
MKFQB7S#N
MBBN:7,P,*\I/C*O_X#/KG-V,3$L_X#C
MKZYE::__@2NOKF=T,3"OKG-U,3`LKG-X-S0LKFES,#"OK_^!*Z^N9W0Q,*__
M@2NOKFQB#0H-"E\S.5\D;&ETKZYS=C,Y+*YS=C$P+*YE>*__@:.OKG-X,3`L
MKFES-S2O*ZYI#$S+*YI#`X+*YI#`X+*YIOKFQB
M#0JO_X$?8VD@(/\P02#^%/[_@0FN;&(-"J__@1]C:2`@KG!V,3.O_X$)KG-V
M,3,L+3&OKFQB#0JO_X$?8VD@(/X4_B#_,$'_@0FN:69`;F]T**YE#$S+*YV821E*\-"@T*
M+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM
M+2TM+2TM+2TM+2TM+2T-"@T*0D5705)%.B`A14Y?0U).3"!D;V5S;B=T(&5R
M2!B92!O<&5N+"!D;VXG="!R=6X@:70A#0H-
M"G5S86=E#0HM+2TM+0T**$)#/61E9F%U;'0@:V)D(#Q&-3XL(%A#/61E9F%U
M;'0@/$8Y/BD-"@T*("`@("!"0R!R=6X@(45.7T-23DP@6W!A=&@@=VEL9&-A
M71H:6YG.R`A14Y?0U).
M3"!P&-I2`A14Y?0U).3"!A;F0@=&AE'!E8W1S('1O(&9I;F0@=&AE(&9I;&4@;F%M90T*=VEL
M9&-A&ET(&EN(/]!17!V
M,3/_048N($EF(/]!17!V,3/_048@:7,@>F5R;RP@<')O8R#_045I&ET2!F:6QE(&ET('!R;V-E5<@,R!X<&P@8V]M;6%N9"!L:6YE+B!07!R
=;RYH=&UL/B!N>6,@,3`@1&5C96UB97(@,3DY-QH
`
end
sum -r/size 14138/5584 section (from "begin" to "end")
sum -r/size 9343/4034 entire input file