aksy has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: comapring colums in file
by GrandFather (Saint) on Feb 25, 2012 at 00:53 UTC
    how to update nodes and formating here ?

    At a minimum read the three line immediately above the edit pane when you first posted.

    For a little more mileage also read the few lines following the edit pane.

    If you want to look like a pro and have other monks take an interest in your nodes read and understand all the links following the edit pane and ensure that the preview of your node looks as you expect it to. For reference that material is:


    Update: added reference material

    True laziness is hard work
Re: comapring colums in file
by GrandFather (Saint) on Feb 24, 2012 at 23:42 UTC

    What have you tried? We can't easily fix code we can't see and if we just do it for you, you learn much less than you would trying to do it for yourself.

    True laziness is hard work
Re: comapring colums in file
by Anonymous Monk on Feb 25, 2012 at 00:46 UTC

    diff -ub file1 file2

    $ diff -ub junk1 junk2 --- junk1 2012-02-24 16:49:06.953125000 -0800 +++ junk2 2012-02-24 16:49:05.718750000 -0800 @@ -1,5 +1,5 @@ value1 value2 diff value3 value 4 mango Total -10 20 30 40 50 +15.6 20 30 40 50 apple -10 45.25 35 56 32 +12.3 45 35 56 32