DECORATE(1)
π DECORATE(1) π
ok bestie, welcome to decorate β it's a lil helper from the User Commands section of the manual, and it's literally about to make your sorting life so much cuter. π
β¨ NAME β¨
decorate β convert fields of various formats π¦
πΈ SYNOPSIS πΈ
decorate [OPTION]... [INPUT]
decorate --decorate [OPTION]... [INPUT]
decorate --undecorate N [OPTION]... [INPUT]
π DESCRIPTION π
It converts fields of various formats, and if you want, it sorts them too. the range?? immaculate. π
ok so here's the tea on how it behaves, depending on which mode you're in:
- With
--decorateβ it adds the converted fields to the start of each line and prints it toSTDOUT. note that it does not sort. no sorting here, bestie, we're just decorating. β¨ - With
--undecorateβ it removes the firstNfields from the input. use this as your post-processing step aftersort(1). it's giving cleanup era. π§Ή - Without
--decorateand--undecorateβ it automatically decorates the input, runssort(1), and undecorates the result. this is the easiest method to use, fr fr. π«Ά
and like, why do you even care? because decorate lets you sort input according to various orderings β think IP addresses, roman numerals, etc. it works in tandem with sort(1) to perform the actual sorting. it's a whole collab, and honestly? they ate. π₯
ngl the decorate +sort(1)combo is the moment. it does the actual sorting,decoratejust sets the vibe. π
and that's the whole page, babe β DECORATE(1), straight out of the User Commands section. no source/version/date info came along with it, so that's all we got, and we slayed with it. mwah. πβ¨π
π¦ where this page comes from
- alpine 3.24: datamash-doc 1.9-r1 Β· GPL-3.0-or-later
- arch rolling: datamash 1.9-1 Β· GPL-3.0-only
- debian trixie: datamash 1.9-1 Β· GPL-3.0-or-later
- epel 10: datamash 1.9-1.el10_2 Β· GPL-3.0-or-later
- fedora 44: datamash 1.9-3.fc44 Β· GPL-3.0-or-later
- nixos 26.05: datamash 1.9
- nixpkgs unstable: datamash 1.9
- ubuntu questing: datamash 1.9-1
- ubuntu resolute: datamash 1.9-2 Β· GPL-3.0-or-later
- ubuntu stonking: datamash 1.9-2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms