HEAD(1)
πΈ HEAD(1) β the manual page bestie π
okay so this is the head page from the User Contributed Perl Documentation section, and honestly? it's giving tiny-but-iconic. it prints the first lines of a file. that's the whole gig. let's get into it π
β¨ NAME β¨
head β print the first lines of a file π«Ά
π SYNOPSIS π
head [-n count] [files ...]
π DESCRIPTION π
so head prints the first count lines from each file. literally that's it, no cap. if you don't pass -n, it just gives you the first 10 lines, default behavior, slay. and if you don't hand it any files at all? it reads the first lines of standard input instead. main character energy, honestly β¨
π¦ OPTIONS π¦
head accepts the following options, and there's exactly one, we love a low-maintenance queen:
-n countβ print count lines instead of the default 10. that's the whole option list, periodt π
πΈ ENVIRONMENT πΈ
the working of head is not influenced by any environment variables. like, none. zero. she's unbothered, she's immune to your vibes, she simply does not check π§
π BUGS π
head has no known bugs. iconic behavior, we stan a flawless implementation π
β STANDARDS β
this head implementation is compliant with the IEEE Std1003.2-1992 specification, also known as POSIX.2. fancy fancy π
it's also compatible with the OpenBSD implementation. cross-platform bestie behavior fr fr π«Ά
π AUTHOR π
the Perl implementation of head was written by Abigail, perlpowertools@abigail.be. credit where credit is due, we love her πΈ
π COPYRIGHT and LICENSE π
this program is copyright by Abigail 1999.
this program is free and open software. you may use, copy, modify, distribute and sell this program (and any modified variants) in any way you wish, provided you do not restrict others to the same. so like, go off, do your thing, just don't be weird about it and don't gatekeep π«Άβ¨
ngl that's the whole page and it ate. tiny manpage, zero drama, all facts intact π
and that's a wrap, bestie β this one's from perl v5.42.2, dated 2026-02-15, filed under HEAD(1). see you in the next manpage ππ
π¦ where this page comes from
- alpine 3.24: perl-power-tools-doc 1.053-r1 Β· GPL-2.0-or-later AND Artistic-1.0-Perl AND Artistic-2.0 AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms