unexpand(1)
π unexpand β the other tab converter, bestie
okay so real talk: this is unexpand(1) from the General Commands Manual section, and she is the β¨glow-upβ¨ sibling of expand. Same energy, opposite direction. Let's get into it. π¦
πΈ NAME πΈ
unexpand β take the blanks in each FILE, turn them into tabs, and yeet the result to standard output. No FILE? Or FILE is -? Then bestie, we're reading from standard input. π
π SYNOPSIS π
unexpand [-a|--all] [-f|--first-only] [-t|--tabs] [-U|--no-utf8]
[-h|--help] [-V|--version] [file]
β¨ DESCRIPTION β¨
So basically: convert blanks in each FILE to tabs, write it all to standard output. That's the whole vibe. π«Ά
With no FILE, or when FILE is literally just -, we read from standard input. Iconic, lowkey, no notes. π
π OPTIONS π
-a,--allβ convert all the blanks, not just the initial ones. go big or go home fr fr π₯-f,--first-onlyβ only convert the leading sequences of blanks. and yes, this overrides-a, so don't be out here passing both and expecting a plot twist. π-t,--tabs <N, LIST>β use a comma separated LIST of tab positions, or have tabs N characters apart instead of8. oh and heads up: this one enables-aas a lil side effect. periodt.-U,--no-utf8β interpret the input file as 8-bit ASCII rather than UTF-8. it's giving "we're not doing unicode today". π-h,--helpβ print help. your bestie when you're lost. π-V,--versionβ print version. slay, now you know what you're working with. β
π VERSION π
v(uutils coreutils) 0.7.0
and that's the whole page, babe β unexpand (uutils coreutils) 0.7.0, manual page unexpand(1). go forth and convert those blanks, you absolute main character. πβ¨π
π¦ where this page comes from
- epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
- epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
- fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 44: rust-coreutils-devel 0.7.0-4.fc44 Β· MIT
- fedora 44: uutils-coreutils 0.7.0-4.fc44 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms