CAT(1)
π CAT(1) π
okay so bestie, this is a page from the User Contributed Perl Documentation and it's literally all about cat, the most iconic little file-printer in the game. she's simple, she's reliable, she ate π
πΈ NAME πΈ
cat β concatenate and print files π±β¨
π SYNOPSIS π
cat [-benstuv] [file ...]
π¦ DESCRIPTION π¦
so here's the vibe: cat reads the files you hand her and prints them in the order you gave them. that's it, that's the whole job, and she does it flawlessly.
if you give her no files at all? she just processes standard input. very chill of her. and a lone dash also represents standard input, so you can drop - in the middle of your file list and she'll know exactly what you mean π«Ά
β¨ OPTIONS β¨
cat accepts the following options, bestie:
-bβ number all the non-blank lines, starting at 1. blank lines get to stay un-numbered, they're just vibing π-eβ print a dollar sign ($) at the end of each line. implies-v, so keep that in mind π-nβ number all the lines, starting at 1. no exceptions, every single one gets a number π-sβ the squeeze option. sequential empty lines get squeezed down into a single empty line. very minimal, very clean β¨-tβ display tabs as^I. implies-vtoo π₯-uβ unbuffer output. she stops holding it in and just goes πββοΈ-vβ display non-printable characters in a printable way. here's the tea:- characters in the range
\000-\037, with the exception of tabs and linefeeds, are printed as^X, where X is the symbol\0100higher - DEL is printed as
^? - characters whose highest bit is set are printed as
M-, followed by the representation of the character with the high bit stripped
- characters in the range
like, it's giving decoder ring energy, and we love that for her ππ
π ENVIRONMENT π
the working of cat is not influenced by any environment variables. she is unbothered, she is ungovernable, she does not read the room (or your env) ππ
π BUGS π
cat has no known bugs. not me being flawless, but likeβ¦ she literally has no known bugs. periodt π
β STANDARDS β
this cat implementation is compliant with the IEEE Std1003.2-1992 specification, also known as POSIX.2.
she's also compatible with the OpenBSD implementation. range, honestly π¦
π AUTHOR π
the Perl implementation of cat was written by Abigail, perlpowertools@abigail.be. thank you Abigail, you absolute icon π«Άβ¨
π 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 πΈ β like, share the love, don't gatekeep, iykyk π
ngl the whole page is like seven lines of actual content and yet she's iconic. no cap π§ββοΈ
mwah π β this was perl v5.42.2, dated 2026-02-15, and that's the CAT(1) page, done and dusted π
π¦ 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