home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!Sirius.dfn.de!rz.ruhr-uni-bochum.de!rubb!x920031
- From: x920031@rubb.rz.ruhr-uni-bochum.de (Jost Krieger)
- Newsgroups: comp.lang.perl
- Subject: small clip problems
- Message-ID: <X920031.92Jul24112758@rubb.rz.ruhr-uni-bochum.de>
- Date: 24 Jul 92 09:28:01 GMT
- Sender: x920031@rubb.rz.ruhr-uni-bochum.de (Jost Krieger)
- Organization: Ruhr-Universitaet Bochum, Rechenzentrum
- Lines: 34
-
- I got clip running fine with perl 4.0.35 on a MIPS machine (I just had
- to comment out the setpriority, because the last compile was in the
- SYSV environment.)
-
- Now clip clips all the interesting stuff, and I'm interested in a lot
- of things. Say python, the programming language/environment. So I write in my
- .cliprc:
-
- &SCANNER(<<'END');
- study;
- &hit if /\b[Pp]ython/;
- &hit if /\b[Pp]erl/;
- &hit if /\balex\b/;
- &hit if /\bWAIS\b/;
- END
-
- among other things. Whoops, I got a lot of witty sayings from Monty Python.
-
- So I change to:
-
- if (/\b[Pp]ython/) {{
- next if $` =~/Monty/;
- &hit;
- }}
-
- as the man page directs me. All clipping stops. Doesn't that trick
- work any more in .35 ?
-
- Jost
- --
- --
- Jost Krieger, Rechenzentrum der Ruhr-Universitaet Bochum
- x920031@rubb.rz.ruhr-uni-bochum.de
- g=Jost;s=Krieger;ou=ruba;ou=rz;pd=ruhr-uni-bochum;ad=dbp;c=de
- --
- --
- Jost Krieger, Rechenzentrum der Ruhr-Universitaet Bochum
- x920031@rubb.rz.ruhr-uni-bochum.de
- g=Jost;s=Krieger;ou=ruba;ou=rz;pd=ruhr-uni-bochum;ad=dbp;c=de
-