GNU bug report logs -
#77443
[shepherd] Shell completion does not quote arguments
Previous Next
Full log
View this message in rfc822 format
Hello,
given two services named cron-foo-(bar) and cron-foo-(baz), the shell
completion provided by Shepherd does not correctly handle the (
character.
$ herd status cron-<TAB> <-- completes into...
$ herd status cron-foo-(<POINT> <-- ... this
$ herd status cron-foo-(<TAB> <-- but this does nothing
Manually fixing up the ( and trying again:
$ herd status cron-foo-\(bar<TAB> <-- completes into...
$ herd status cron-foo-(bar) <-- ... this
However the final line, while the service name is correct (from
Shepherd's point of view), is not a valid shell syntax.
I assume some other characters might cause similar problems.
Have a nice day,
Tomas
--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
This bug report was last modified 76 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.