Bug#820359: init-system-helpers: Handle \ escape in systemd unit names

2016-05-02 Thread Felipe Sateler
Hi, On 8 April 2016 at 13:32, Dan Nicholson wrote: > > On Thu, Apr 7, 2016 at 12:27 PM, Dan Nicholson wrote: > > On Thu, Apr 7, 2016 at 11:56 AM, Felipe Sateler wrote: > >> > >> AFAICT, the only difference between quotewords

Bug#820359: init-system-helpers: Handle \ escape in systemd unit names

2016-04-08 Thread Dan Nicholson
On Thu, Apr 7, 2016 at 12:27 PM, Dan Nicholson wrote: > On Thu, Apr 7, 2016 at 11:56 AM, Felipe Sateler wrote: >> >> AFAICT, the only difference between quotewords and split is that >> quotewords takes into account quotes to allow "multiple words" to

Bug#820359: init-system-helpers: Handle \ escape in systemd unit names

2016-04-07 Thread Dan Nicholson
On Thu, Apr 7, 2016 at 11:56 AM, Felipe Sateler wrote: > > AFAICT, the only difference between quotewords and split is that > quotewords takes into account quotes to allow "multiple words" to be > parsed as a single token. I don't think we have use for such a feature > (there

Bug#820359: init-system-helpers: Handle \ escape in systemd unit names

2016-04-07 Thread Felipe Sateler
On 7 April 2016 at 15:26, Dan Nicholson wrote: > Package: init-system-helpers > Version: 1.29 > > Systemd unit names can have valid \ escape characters. See > systemd-escape(1) for examples. When a unit references a another unit > with escaped characters,

Bug#820359: init-system-helpers: Handle \ escape in systemd unit names

2016-04-07 Thread Dan Nicholson
Package: init-system-helpers Version: 1.29 Systemd unit names can have valid \ escape characters. See systemd-escape(1) for examples. When a unit references a another unit with escaped characters, init-system-helpers handles them incorrectly. For example, a unit file having