mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-09 17:00:40 +01:00
"match.interface-names" is the only property that uses VALUE_STRSPLIT_MODE_MULTILIST_WITH_ESCAPE.
$ nmcli connection modify "$PROFILE" match.interface-name ' 5, \,\ 4\, '
results in
[match]
interface-name=5;, ;4,;
and
$ echo ">$(nmcli -g match.interface-name -escape=no connection show "$PROFILE")<"
>5 \,\ 4\,<
Yes, plain --get leads to a wrong double-escaping:
$ echo ">$(nmcli -g match.interface-name connection show "$PROFILE")<"
>5 \\,\\ 4\\,<
|
||
|---|---|---|
| .. | ||
| cli | ||
| common | ||
| tests | ||
| tui | ||
| meson.build | ||
| nm-online.c | ||