Questions tagged [nl]

A tool for numbering lines, either from a file or from stdin.

Filter by
Sorted by
Tagged with
2
votes
2answers
131 views

How to prepend numerical order on filenames by Zsh/AWK/…?

I would like to prepend numerical order form 1-777 on the orders given to it. You can loop it through and increment variable in Bash. However, I would like to do it with Zsh and/or Awk. An example ...