7
我想计算:解析成绩单和提取点的总和和平均
- 的总积分(总和)
- 今日点(和)
- 的总积分(平均)
- 今日点(平均)
我有使用bash脚本其他不知道比我更需要先从:#!/斌/庆典
这里是我的文件的样本
#file 14516 - 2011-01-26 19:01:00 EDT#
user: [email protected]/id(11451611)
lastlogin: 1295896515
total_points: 11.76/today: 5.21
gameid: 51
user: [email protected]/id(11837327)
lastlogin: 1293893041
total_points: 416.1/today: 98.1
gameid: 49
user: [email protected]/id(11451611)
lastlogin: 1294917135
total_points: 1.76/today: 0.21
gameid: 51
对于人来帮助你 - 你需要让自己 – 2012-01-27 01:46:25
你想使用Bash脚本完成这件事的努力? – Tim 2012-01-27 01:47:14
那么,为什么你不先阅读bash编程指南,然后问一些本指南中没有回答的问题?为什么浪费人们的时间?如果你想让其他人为你做 - 请一位程序员来做。 – 2012-01-27 01:59:58