How to subtract column values by the first row with awk?
How to subtract column values by the first row with awk? The input file is lines of "id number1 number2 count", both number1 and number2 are ascendant. Barcode000000 48521 1855 0 Barcode000001 48621 1855 0 Barcode000002 48721 1855 1 Barcode000003 48821 1855 0 Barcode000004 48921 1955 20 Barcode000005 49021 1955 0 Now I use awk …