mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-19 18:14:24 +00:00
22 lines
500 B
Markdown
22 lines
500 B
Markdown
# Little Snitch
|
|
|
|
1. [TL;DR](#tldr)
|
|
2. [Further readings](#further-readings)
|
|
|
|
## TL;DR
|
|
|
|
```sh
|
|
# Sort the remotes in a rules list.
|
|
jq -r '[.rules[] | .remote, ."remote-domains", ."remote-hosts" | select(. != null)] | sort | .[]' rules.lsrules
|
|
|
|
# Sort the rules by their 'remote', 'remote-domains' or 'remote-hosts' field.
|
|
FIXME
|
|
```
|
|
|
|
## Further readings
|
|
|
|
- [The .lsrules file format]
|
|
|
|
<!-- project's references -->
|
|
[the .lsrules file format]: https://help.obdev.at/littlesnitch5/ref-lsrules-file-format
|