Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Big Dave

macrumors 6502
Original poster
Nov 27, 2007
314
25
Crestview, Fl
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?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.