sed / awk command to print line number as column?
Hi.
I have a data file containing say 10 columns. I'd like to add a column in the first column position to act as a label - just a column of line numbers. Does anyone know a simple sed / awk command to do this?
Thanks
|