User Tools

Site Tools


awk:number_all_lines_in_a_file

This is an old revision of the document!


AWK - Number all lines in a file

awk '{ print NR "\t" $0 }' file.txt
awk/number_all_lines_in_a_file.1600877024.txt.gz · Last modified: 2020/09/23 16:03 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki