wrap(1)
π wrap(1) β your new fave text-glowup filter π
okay so first things first, bestie: this is wrap from the General Commands Manual, section 1, and honestly? she's a lil icon. short, sweet, does exactly one thing and does it well. main character energy fr fr. π
β¨ NAME β¨
wrap β a filter that word-wraps your text, no cap π¦
β¨ SYNOPSIS β¨
wrap [-w width] [--version --help]
that's it. that's the whole vibe. π
β¨ DESCRIPTION β¨
so here's the tea β β this program reads text from standard input, word-wraps it, and writes the result to standard output. it formats your text to fit a specified number of columns, because sometimes your lines are doing way too much and need to be humbled. π
extraneous whitespace? gone. removed. not invited to the function. π and lines only get broken on word boundaries, so you never get a word sliced in half mid-sentence (unless it's being dramatic, more on that in NOTES π). it's giving tidy. it's giving considerate. we love to see it. β¨
πΈ OPTIONS πΈ
--helpβ shows you a command synopsis and then dips out. exit stage left. π«Ά--versionβ spills the program's version info and exits. like "hi, this is me, bye." πββοΈ-w widthβ sets the maximum number of columns, width, that the text is allowed to span. the minimum value of width is 10 β so don't try to be cute with a tiny number, she simply will not go below 10. β
π₯ SEE ALSO π₯
less(1)β for when you wanna scroll through it all cutefold(1)β her cousin, kinda the same energy, different approach
π NOTES π
okay this is the important bit, so listen up π«Ά β if wrap encounters a word that is longer than the specified column width, that word gets broken across two or more lines so it still fits within that number of columns. no word is too big to be handled. she will fold that word like laundry. ππ₯
π AUTHOR π
Mark Lindner β the mastermind, the legend, the one who said "what if text was wrapped tho" and honestly? slay. π
and that's the whole page, bestie!! π§π you're now officially an expert on wrap. iykyk.
Version 1.3 Β· dated 15 Dec 1998 β yes she's a vintage queen and she's still serving looks. periodt. π β¨π
π¦ where this page comes from
- arch rolling: talkfilters 2.3.8-8 Β· GPL2
- nixos 26.05: talkfilters 2.3.8
- nixpkgs unstable: talkfilters 2.3.8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms