Not able to calculate sum of multiple column where file data in different format .csv | Linux |

I have a scenario where i want to calculate sum of column SAL|CAL|TAG|VAL 12.11″|”1.1″|”2.1″|”1.1 13.11″|”1.1″|”2.2″|”2.2 14.11″|”1.1″|”2.4″|”2.4 My below code not giving output giving output as 0.00 i need output for this column CAL VAL awk -F’|’ ‘{T+=$2} END { printf “%.2f\n”, T }’ demo.txt output : 6.7 5.7

Details

Recommended ulimit values for Centos7

Trying to configure PHP to perform a core dump, I executed the following: [root@myserver ~]# echo ‘/tmp/core-%e.%p’ > /proc/sys/kernel/core_pattern [root@myserver ~]# echo 0 > /proc/sys/kernel/core_uses_pid [root@myserver ~]# ulimit -c unlimited I do not know what the original ulimit values were, but they are now as follows: [michael@myserver ~]$ ulimit unlimited [michael@myserver ~]$ ulimit -a core…

Details