REV(1)
π REV(1) β the reverse-lines girlie
ok so this is the perl-doc version of REV(1), and bestie, it is so much simpler than it sounds. it's literally just "read a line, flip it, print it." that's the whole vibe. π¦
β¨ NAME β¨
rev β reverse lines of a file π«
πΈ SYNOPSIS πΈ
rev [file ...]
π DESCRIPTION π
okay so the rev utility does exactly one iconic thing and does it flawlessly: it copies the files you list over to standard output, but it reverses the order of characters in every single line. that's it. main character energy, zero notes. π
and if you don't specify any files at all? it just reads from standard input. she's flexible like that. π«Ά
π OPTIONS π
rev accepts the following options:
--versionβ prints the version number and then exits. cute little bow on top. π
π BUGS π
rev has no known bugs. not one. flawless. iconic. no notes. periodt. β¨
ngl, a bug-free manpage section is the rarest thing in all of unix, and she said it with her whole chest.
π AUTHOR π
this Perl implementation of rev was written by Andy Murren, andy@murren.org. absolute legend, we stan. π«‘
π COPYRIGHT and LICENSE π
this program is covered by the GNU Public License (GPL). see http://www.gnu.org/copyleft/gpl.html for complete detail of the license. read it, bestie, iykyk. π
and that's the whole page, babe π
β this was perl v5.42.2, dated 2026-02-15, signing off on the REV(1) manual page. go reverse some lines, you're gonna slay πβ¨π
π¦ 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