mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
70 lines
1.2 KiB
Markdown
70 lines
1.2 KiB
Markdown
# XML
|
|
|
|
TODO
|
|
|
|
Intro
|
|
|
|
<!-- Remove this line to uncomment if used
|
|
## Table of contents <!-- omit in toc -->
|
|
|
|
1. [TL;DR](#tldr)
|
|
1. [Further readings](#further-readings)
|
|
1. [Sources](#sources)
|
|
|
|
## TL;DR
|
|
|
|
<!-- Uncomment if used
|
|
<details>
|
|
<summary>Setup</summary>
|
|
|
|
```sh
|
|
```
|
|
|
|
</details>
|
|
-->
|
|
|
|
<details>
|
|
<summary>Usage</summary>
|
|
|
|
```sh
|
|
xml sel -t -v 'configuration/gui/password' 'Library/Application Support/Syncthing/config.xml'
|
|
xml ed -L -d 'configuration/gui/password' 'Library/Application Support/Syncthing/config.xml'
|
|
```
|
|
|
|
</details>
|
|
|
|
<!-- Uncomment if used
|
|
<details>
|
|
<summary>Real world use cases</summary>
|
|
|
|
```sh
|
|
```
|
|
|
|
</details>
|
|
-->
|
|
|
|
## Further readings
|
|
|
|
- [Website]
|
|
- [Codebase]
|
|
|
|
### Sources
|
|
|
|
- [5 simple ways to parse an XML file on Linux]
|
|
- [`xmllint` cheatsheet][xmllint command cheatsheet]
|
|
- [`xml` cheatsheet][xml command cheatsheet]
|
|
|
|
<!--
|
|
Reference
|
|
═╬═Time══
|
|
-->
|
|
|
|
<!-- In-article sections -->
|
|
<!-- Knowledge base -->
|
|
<!-- Files -->
|
|
<!-- Upstream -->
|
|
<!-- Others -->
|
|
[5 simple ways to parse an xml file on linux]: https://www.fosslinux.com/114195/ways-to-parse-an-xml-file-on-linux.htm
|
|
[xmllint command cheatsheet]: https://cheat.sh/xmllint
|
|
[xml command cheatsheet]: https://cheat.sh/xml
|