>_ IzzyLab

Topic breakdown

nl (number lines) adds numbers to lines on the left. Unlike cat -n, it has a flexible numbering policy: by default only non-empty lines are counted (empty ones go without a number), and the style can be configured with flags — what to number (-b), the number format (-n), the separator. The mental model is not "just a line counter" but a formatter with a configurable rule for which lines deserve a number.

What's checked

  1. lines numbered with nl

What it looks like