I have this file that contains number in a column: I need to add them together so I do this: But after I add them together I need to divide them by 60,something like this: how can I do that? Answer
Tag: bc
Using bc as daemon in BASH shell from awk
In BASH environment I can communicate with bc program using fifo. But in awk I can write but no read with getline function. How can I read from “/dev/fd/4” in awk. My awk version is: mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan Thanks Laci Continued: I did some further experiment and I summarize my result. Awk script language