linux中,有一个日志文件,我要统计所有用户消耗的银币数,并打印(print)出来

linux中,有一个日志文件,我要统计所有用户消耗的银币数,并打印(print)出来,第1张

我这里举个例子

例:你日志文档为g.txt

日志内容为

用户 金币

1 23金币

1 43金币

3 654金币

2 76金币

1 56金币

使用下面这段就可以实现了

czt g.txt |awk '{golds[$1]=golds[$1]+$NF}END{for(gold in golds){print

gold,golds[gold]}}'

结果展示为:

1 122金币

2 76金币

3 654金币

在这之中$1代表你用户ID那一列 $NF代表金币数那一列(这里使用$NF代表最后一列,如果你是第三列这里使用$3),可以根据自己情况调整

尽力了

不行表怪我

Educate the background

2006/09~2010/6 College of commerce law school of Guangdong

The method learns the profession

The method learns the bachelor's degree

Campus activity

2008/09~2009/07The school broadcast set An executive officer of program

?The establishment manages the comprehensive amusement Cantonese column eyes also 《 the QQ Life 》 , get the large teachers and the students fancy

?Participate large activity in school of the organization plan such as 《 the magic power New appointee of Guangdong king 》 , 《 big match of singer of campus 》 , all get the classmates to participate actively, school and sponsor the company's good opinion

?Because of the work performance excellent, get 2008-2009 years," excellent worker" of the broadcast set in the Guangdong college of commerce title

2008/09~2009/07School youth volunteer association The society practices an executive officer

?12-4 campus method activities, there is the prize question and answer game in the red sand park and the red sand primary school organization law knowledge, the law that answer the crowd consultation

?The blind man school and nursing homes open the exhibition 康 body amusement activity

?Open the poor mountain area of exhibition sends the warm activity, succeeding toward the region to make a contribution several 100 clotheses and more than 1,000 volumes books

2006/10~2007/09School art regiment Drama brigade executive officer

Star of 《 police and hymn 》 acquire the drama to deduce the big match No. 3 quality prize

2007/10~2008/09The class study member of committee

Take the book fee, arouse the class in the study atmosphere, solve the classmate study up the difficulty

Practice the activity

The 2009/08~ is up to now QiXing Law firm of GuangdongLawyer's assistant

?Tidy up the office file of mile, classify for case and return back to file

?Go and see the case the party concerned and related government units, obtain the case proof

?Write the law to file a lawsuit for the party concerned, related indemnification gold quantity of the calculation case

?Complete other business that the lawyer hands over the generation

2007/07~2008/08Guangzhou City shows the judicial bureau of area more The law helps a trainee

Connect to hear the law hot-line, the one who receive to come to visit, draft the law document, provide for the minority community

Related law consultation, various indemnity golds of budget

2009/07~2009/08Long range education center of Guangzhou The lesson piece designs the trainee

The society practice

2006/07~2006/09The food limited company The snack promotes sales the member

Help the company to sell the sum for day to raise 10% equally, acquire the boss to appreciate and prize

2005/07~2005/08Bean cosmetics limited company The product leads to buy the member

?Work well the selling exhibition displays the work of wait the aspect, keeping the merchandise and promoting sales the thing to put to put tidy, sweep to have the preface

?Construct the customer to participate the atmosphere in the selling exhibition, raise the customer to purchase the wishes, promote the sales amount of the selling exhibition

?Collect opinion, suggestion and expectations of customer to the merchandise selling exhibition, and give the information feedback company

?Statement etc. that completes everyday, week, month fills in the work, work well particularly the cabinet sale record and periodical stocktaking stock

2005/01~2005/02 Go into partnership with classmate to conduct HUA JIE DANG3's

Pull to sponsor the company, draft the marketing project, arrange the shop front, because of whole decorate special ascended the Pearl River television station flower market especially column eyes

Personal technical ability

English- have already led four classes of English

The common speech- common speech level amounts to two class second grades

Calculator- the well-trained operation office transacts the software, exceling the applied powerpoint, controling the basic network knowledge

Ego evaluation

Personal fondness for:The Chin chess, the ping-pong, rides the bike

Character characteristics:Express the fluent, work hard, the enthusiasm is bright, the diligence go forward, having the good team cooperation spirit

上面的什么垃圾东西,全是假的。

暴雪线上RTS社区经理Karune刚刚发布了冰封王座1.22补丁的内容

功能补丁

-在选项菜单中新增加一个可以自动保存replay的选项,Replay将被自动保存到replay文件夹下

-增加一个可以永久显示单位和建筑血条的选项

-现在可以通过使用命令/showminimapsignals and /hideminimapsignals来显示或者屏蔽来自玩家和观看者发出的小地图信号

人族

-哨塔的修理时间等级由12上升到20

-骑士的攻击伤害增加:攻击间隔频率由1.5降低至1.4;基础攻击力由25增加至28(平均攻击力34)

亡灵

-通灵塔护甲由1上升至5

-大墓地的建造时间由120秒降低至100秒

暗夜

-毒液之球的毒液效果持续时间由10秒降低至8秒

-树妖的经验由40增加至60

修正

-使用次数无限制的物品,在丢失和交换之后,它的的冷却时间仍将持续(如传送权杖和保存权杖)

-修正了一个可以无限使用药膏,无敌等物品的bug

-地穴恶魔使用钻地技能后,它的自动网技能不再会被自动关闭。

-修正了物品在英雄间换手后会丢失冷却时间的bug

地图

新增加四张地图

(2)MeltingValley

(2)RoadToStratholme

(4)CentaurGrove

(4)TidewaterGlades

Human :

哨塔(包括升级中)

修理时间 12 ->20 。历时4年,5大版本,11个补丁的4倍修理bug终于被修正!

4倍 ->2.4倍(指1.16及以前的修理速度)。虽然比暴雪本来所说的2倍还多一点,但是终于也算可以满意了。

此改动对hum是致命性的。

也许一开始不出现4倍修理bug,反而还好,但现在人人都习惯于hum的塔,一旦削弱,hum将无所适从。

tower rush退出历史舞台,开矿难度也加剧 —— 如果对手强行打塔,很难起来,则被各种rush掉的风险加大很多,

至少投入在分矿的资源和战略要比原来难度增加。

从这点来说,我觉得hum又削弱塔又削弱3本(避难)是有点弱了。

骑士的增强:根据计算攻击输出大概强了1/8的样子。8个骑士等于从前9个骑士。或者等于原来的8个骑士加个不错的光环。这个增强,看看human玩家能不能发挥出来什么新的打法。其实骑士从来都不弱,human缺的是小鹿。女巫有其缓慢,牧师有其驱散,但是何人能魔免?能对空?

hum vs orc : 变弱(立塔是笑话,1本tr是痴人说梦,开矿3本49,开的出来矿吗?)

hum vs ud : 变弱或不变(虽然开矿难一些,但骑士强了。只不过,避难的问题...)

hum vs NE : 变弱(开局tr不成,举盾tr不成,2本tr不成,一波流不成,开矿不成)

综合:弱

UD

大墓地建造时间 120 ->100

人口防御 1 ->5

其实从前ud的人口就是5防,是削弱成1防的.. 最看不得某些人了,自己不了解历史在那jjyy

ud人口削弱了 抱怨以后怎么办啊 别的族imba了 人口不堪一击了

恢复成原来的样子 又抱怨imba了 太无敌了 等等丝毫不记得其实是人口加强了 不是塔

ud的骷髅棒,由于不是永久物品,所以幸运的不被新版的“共享cooldown”所影响

加上新地图来说的话,ud应该是稳中增强。其中,大墓地效果聊胜于无,主要是人口,

虽说面对炸d人没什么区别,但算上普通攻击的话,总算是对狼骑强一点、对footman和坦克强一点。

ud vs hum : 强(hum开矿难度增加,只要死命打塔即可让他永远起不来)

ud vs orc : 无变化(需要理由吗?)

ud vs NE : 无变化 / 强(说无变化是因为NE并没有本质被削弱,说强是因为确实优势时候更难被翻盘了)

综合:无变化/强

NE

NE能被削弱这么少,真是庆幸啊。眼泪哗哗的

毒球削弱可以忽略不计。

保存问题,有hum给我们垫背。再说后期都是2保存的。

小鹿问题,我打orc从来不出小鹿的。打hum从来不死小鹿的。打ud么,看来单兽王不行了。仅此而已。

该赢的照样赢,输的会输的更快。算是更平衡一点了吧.

NE vs Hum : 强(能输么?)

NE vs Orc : 弱(orc局势不明,总体看是弱了,但是也没碰到痛处,要看最终版改动)

NE vs UD: 无变化 / 弱(小鹿经验加了?只不过是那种死一票小鹿然后翻盘的情况少了。你不会次次战斗不亏?不就行了。要知道打hum和orc从来不允许亏一次的。)

综合:无变化 / 弱

ORC:待定

地图: RS地图新版看了一下,右下角改成地精实验室了。另7级骑士会开无敌;只掉5级永久宝物(同TR7级黑胖)。53333变成了53311,但是总体实力恐怕更胜之。雇佣兵变成555,非常容易用BR mf的地方,就看今后勾引/反勾的细节了。分矿很恶心,对ne/ud有利,对hum不利的地图。

MV,门口雇佣变成全斧头兵了,orc / ud mf有利。


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/tougao/12016574.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-20
下一篇 2023-05-20

发表评论

登录后才能评论

评论列表(0条)

保存