Search Results

Search: Posts Made By: sayachop
9,450
Posted By itkamaraj
read about the split function in the perl ...
read about the split function in the perl

the above posted code will not work in windows.

---------- Post updated at 02:11 PM ---------- Previous update was at 02:05 PM ----------


$...
9,450
Posted By jayan_jay
Corrected the filename and now try with the below...
Corrected the filename and now try with the below command

$ nawk -F"[:,]" '{print $2|"xargs"}' fps.csv | nawk '{s=0; for (i=1; i<=NF; i++) s=s+$i; print "Average : "s/NF}'
9,450
Posted By jayan_jay
In awk .. $ nawk -F"[:,]" '{print...
In awk ..

$ nawk -F"[:,]" '{print $2|"xargs"}' infile | nawk '{s=0; for (i=1; i<=NF; i++) s=s+$i; print "Average : "s/NF}'
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 02:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy