标题: 给txt文档加行号
[打印本页]
作者: 26933062
时间: 2007-5-16 04:04
标题: 给txt文档加行号
作者: bjsh
时间: 2007-5-16 08:53
findstr /n .* test.txt
再重定向
作者: ttyp
时间: 2007-5-16 08:54
@echo off
findstr /n ".*" a.txt>b.txt
作者: minmin888
时间: 2007-5-16 10:29
作者: 26933062
时间: 2007-5-16 13:01
作者: teste
时间: 2007-6-28 00:03
作者: bjsh
时间: 2007-6-28 00:36
我也凑个热闹;
gawk '{print NR,$0}' test.txt
作者: lxmxn
时间: 2007-6-28 01:45