Quick Scripts
home
Add line numbers to a file
07 Jan 2009
You want to, well, add line numbers to a file.
$
awk
'{print NR "\t" $0 }'
input.txt