Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

compare two files and print the differences of file 2 in a third file

by hopper (Novice)
on Jun 13, 2017 at 22:10 UTC ( [id://1192744]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    SECTION, ONE, 1, 4, YELLOW, HIGH, THIS IS COMMENT
    This is my line
    ...
    SECTION, THREE, 9, 4, RED, HIGH, THIS IS COMMENT
    This is a dog
    This is a cat
    
  2. or download this
    SECTION, ONE, 1, 4, YELLOW, HIGH, THIS IS COMMENT
    This is a cat
    ...
    SECTION, TWO, 2, 4, BLUE, HIGH, THIS IS COMMENT
    This is not a book
    This is a notebook
    
  3. or download this
    SECTION, TWO, 2, 4, BLUE, HIGH, THIS IS COMMENT
    
  4. or download this
    SECTION, TWO, 2, 4, BLUE, HIGH, THIS IS COMMENT
    This is not a book
    This is a notebook
    
  5. or download this
    #!/bin/perl -w
    
    ...
                                
                close FILE2;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-16 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found