dcc@ccvr1.uucp (Daniel Carr) (08/26/89)
has anyone written a munger-type XCMD? i've seen a very nice find and replace xcmd, but i need one that accepts parameters and doesn't pop up a window like a word processor. thanks for any help >>>>>>>>>>>>>>>>>>>>>>>> Daniel C. Carr <<<<<<<<<<<<<<<<<<<<<<<< >>>>>>> North Carolina State University Computing Center <<<<<<< dcc@ccvr1.ncsu.edu daniel@ncsuvm.BITNET d.c.carr, GEnie
sirkm@ssyx.ucsc.edu (Greg Anderson) (08/28/89)
In article <3762@ncsuvx.ncsu.edu> dcc@ccvr1.ncsu.edu (Daniel Carr) writes: >has anyone written a munger-type XCMD? What exactly does "munger" do? >i've seen a very nice find and >replace xcmd, but i need one that accepts parameters and doesn't pop up >a window like a word processor. I have two XFCNs that I have written that you might find useful. Both are parameter-driven, not dialog-driven. 1. I have implemented 'grep', ala Unix. Grep searches for regular expressions in text, and returns any line that contains the expression. 2. I've also written a replace XFCN, but at the moment it only searches for string litterals. I'm going to modify it to replace regular expressions soon. If interested, I'll put these up for anonymous ftp on ssyx. >thanks for any help You're welcome. >>>>>>>>>>>>>>>>>>>>>>>>> Daniel C. Carr <<<<<<<<<<<<<<<<<<<<<<<< >>>>>>>> North Carolina State University Computing Center <<<<<<< >dcc@ccvr1.ncsu.edu daniel@ncsuvm.BITNET d.c.carr, GEnie ___\ /___ Greg Anderson ___\ /___ \ \ / / Social Sciences Computing \ \ / / \ /\/\ / University of California, Santa Cruz \ /\/\ / \/ \/ sirkm@ssyx.ucsc.edu \/ \/