我有以下输入文件(调用它log
)。
2012-02-10 11:00:44.211 connection closed_to host
2012-02-10 11:00:44.598 connection closed_to host
2012-02-10 11:00:45.510 connection closed_to host
2012-02-10 11:00:45.891 connection closed_to host
2012-02-10 11:00:46.111 connection closed_to host
我希望能够计算每分钟的行数。例如,我想获得以下输出:
2012-02-10 11:00 connection closed to host 5