How to extract columns then add new column by caculate in Linux
Advertisements I have text file like below: ID Grade1 Grade2 Grade3 JK01 92 84 88 JK02 87 80 93 JK03 89 98 95 I want to extract specific column then add two column using awk. Weight will from Grade2 *1.5+2,and Note is a specific number:17. Desird Output like: ID Grade2 Weight Note JK01 84 134… Read More How to extract columns then add new column by caculate in Linux