ethxmlindent(8)
β¨ NAME β¨
ethxmlindent β bestie, this is the XML glow-up tool π
Okay so picture this: you feed it well-formed XML as input, it filters out the comments, and then it hands you back an equivalent XML file with uniform indentation. That's it, that's the whole vibe. β¨
Use ethxmlindent to reformat files so they're actually easy to read and review π. You can also use it to reformat a file so it's easy to compare with a diff tool. Slay. π
π¦ Syntax π¦
ethxmlindent [-t|-k] [-i indent] [ input_file]
π Options π
--helpβ produces the full help text. Like, the whole thing. No cap. π-tβ trims leading and trailing whitespace in tag contents. Bye bye, extra spaces. π-kβ keeps newlines as-is in tags that are purely whitespace and contain newlines. The default behavior is to format that as an empty list instead. π«Ά-iindent β sets the indentation to use per level. The default is4. π- input_file β specifies the XML file to read. The default is
stdin. π
And that's the whole page, bestie π§β¨ β this one comes to you from the EFSFFCLIRG man page set, copyright Copyright(C) 2020-2024 Intel Corporation, and it's still rocking the ethxmlindent(8) name like the icon it is. Go reformat something pretty. ππ
π¦ where this page comes from
- centos-stream 9: eth-tools-fastfabric 1:12.1.0.0-4.el9 Β· BSD
- fedora 43: eth-tools-fastfabric 1:12.1.0.0-151.fc43 Β· BSD-3-Clause
- fedora 44: eth-tools-fastfabric 1:12.1.0.1-6.fc44 Β· BSD-3-Clause
- opensuse-leap 16.0: eth-fastfabric 11.7.0.0-160000.2.2 Β· BSD-3-Clause OR GPL-2.0-only
- Copyright 2020-2024, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms