某教学班的名单 name.dic 包括班级、学号、姓名三列信息,以空格分隔。
请在名单每行的左侧添加序号。假定名单中的人数不超过100,因此序号只要保留两位即可,在序号之后,与班级信息间隔一个空格。
例如,名单 name.dic内容为:
jsj173 2017010444 WCG
jsj173 2017010452 ZYM
jsj173 2017010455 ZT
jsj173 2017010463 ZYL
jsj173 2017010464 LMH
jsj173 2017010466 WJ
jsj173 2017010467 HF
jsj173 2017010468 ZN
jsj174 2017010476 LC
jsj174 2017010489 HZG
jsj174 2017010490 ZXR
jsj174 2017010496 LJW
jsj174 2017010503 YJJ
添加序号之后的内容为:
1 jsj173 2017010444 WCG
2 jsj173 2017010452 ZYM
3 jsj173 2017010455 ZT
4 jsj173 2017010463 ZYL
5 jsj173 2017010464 LMH
6 jsj173 2017010466 WJ
7 jsj173 2017010467 HF
8 jsj173 2017010468 ZN
9 jsj174 2017010476 LC
10 jsj174 2017010489 HZG
11 jsj174 2017010490 ZXR
12 jsj174 2017010496 LJW
13 jsj174 2017010503 YJJ