Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: compare text files

by kcott (Chancellor)
on Sep 12, 2012 at 10:28 UTC ( #993204=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    #!/usr/bin/env perl
    close $testfile;
  2. or download this
    $ cat > pm_least_diff.ref
    chr1    40
    chr2    60
    chr2    80
    chr3    100
  3. or download this
    $ cat > pm_least_diff.test
    chr1    30
    chr2    20
    chr2    50
    chr3    80
  4. or download this
    $ pm_least_diff.ref pm_least_diff.test
    chr1    10
    chr2    40
    chr2    10
    chr3    20

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993204]
[Eily]: it stays unapproved after I try to moderate it I mean
[chacham]: I'm sure this is old, but i just came across it: If you put a million monkeys at a million keyboards, one of them will eventually write a Java program. The rest of them will write Perl programs.

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2018-04-23 16:00 GMT
Find Nodes?
    Voting Booth?