From 75c9678751a8f7e94b7779155516fb22859565e6 Mon Sep 17 00:00:00 2001 From: terminalforlife Date: Sun, 15 Mar 2020 14:20:12 +0000 Subject: [PATCH] Add manual references & header to `nl` --- sheets/nl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sheets/nl b/sheets/nl index b82cd57..059d78a 100644 --- a/sheets/nl +++ b/sheets/nl @@ -1,7 +1,10 @@ -# Number lines given to `nl` via STDIN. +# nl +# Number lines of files + +# Number lines given to nl(1) via STDIN. printf "Here\nis\nsome\nexample\ntext." | nl -# Number (all) lines given to `nl` via provided file(s). +# Number (all) lines given to nl(1) via provided file(s). nl -b a /path/to/file -# The above can also be achieved with `cat`, which is perhaps more portable: +# The above can also be achieved with cat(1), which is perhaps more portable: cat -n /path/to/file