Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: grep -vf exclude_file to_thin_file in perl

by serf (Chaplain)
on Mar 02, 2009 at 19:21 UTC ( [id://747529]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    #
    ...
        print $input if ! $exclude{$input};
    }
    close $input_fh;
    
  2. or download this
    $ cat file1
    $i++;
    $ only-in file1 file2
    Nested quantifiers in regex; marked by <-- HERE in m/^$i++ <-- HERE ;
    $/ at /home/qmechix/only-in line 27.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://747529]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-03-29 08:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found