wrap(1)

πŸ“¦ version 2.3.8, in arch rolling, nixos 26.05, nixpkgs unstable

πŸ’– 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 cute
  • fold(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