B Big Dave macrumors 6502 Original poster Feb 18, 2010 #1 I'm using nl to number the lines in a file: nl file > newfile nl defaults to labeling the first line 1. Is there a way to make nl start at 0?
I'm using nl to number the lines in a file: nl file > newfile nl defaults to labeling the first line 1. Is there a way to make nl start at 0?
robbieduncan Moderator emeritus Feb 18, 2010 #2 Use the manual! Type: Code: man nl and see what it says (hint look for -v switch)
B Big Dave macrumors 6502 Original poster Feb 18, 2010 #3 Thanks for the help! Worked great. I didn't know if -v was the right choice. I should have tried it. DOH! Thanks!
Thanks for the help! Worked great. I didn't know if -v was the right choice. I should have tried it. DOH! Thanks!