Hacker News new | ask | show | jobs
by smallpipe 410 days ago
TIL that `head -5` is equivalent to `head -n 5`, and that's not in the manual
2 comments

It’s called out as obsolete in the coreutils documentation, https://www.gnu.org/software/coreutils/manual/html_node/head..., which probably explains the lack of references in the manual
Depends on which manual you read; e.g., it's documented in https://illumos.org/man/1/head