Am 15.05.2014 18:20, schrieb Lennart Poettering: > On Thu, 15.05.14 03:38, Michael Biebl (bi...@debian.org) wrote: > >> Am 14.05.2014 18:35, schrieb Lennart Poettering: >>> On Tue, 13.05.14 23:01, Gero Treuner (gt_72_debian....@innocircle.com) >>> wrote: >> >>>> So that this is possible: >>>> >>>> systemctl start sys-devices-virtual-net-@$(encodeunitname my-dev).device >>>> >>>> What about such addition resp. accepted patch? >>> >>> Well, we cannot extend the shell... >> >> I guess Gero was suggesting that systemd provides a small helper binary, >> like systemd-escape, which accepts a string on stdin and outputs the >> escaped string on stdout > > I think I would prefer if we could extend systemctl in some way, so that > it understands a syntax for building unit names from unescaped strings.
Do you have any idea how this should look like? Should we introduce markers like %% which would tell systemctl which part of the string is to be escaped? Something like: systemctl start foo-bar@%%string-to-be-escaped%%.device -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature