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?
nl file > newfile
nl defaults to labeling the first line 1.
Is there a way to make nl start at 0?