diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-05-20 20:00:18 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-05-21 16:33:04 +0200 |
commit | 3ca606d103cb9c4011cfcb1d377b6749fb73aaec (patch) | |
tree | 267b4d54a33ffd91749e1f2802a96e88abb69770 /.vimrc | |
parent | man: add an example how to correctly read os-release in shell (diff) | |
download | systemd-3ca606d103cb9c4011cfcb1d377b6749fb73aaec.tar.xz systemd-3ca606d103cb9c4011cfcb1d377b6749fb73aaec.zip |
man: add example os-release mangling in python
This is also not entirely obvious. I think the code I came
up with is pretty elegant ;] The final part of of the code that makes
use of the parsed data is kept very similar to the shell code on purpose,
even though it could be written a bit more idiomatically.
Diffstat (limited to '.vimrc')
0 files changed, 0 insertions, 0 deletions