On Linux, try this: cd .../systemd/system grep foo * You will get an error message from grep! I believe the problem is that the file "-.slice" appears as a bunch of options to grep, and possibly other commands. Desired action: rename this file to something less error-prone, maybe "0.slice". Work-around: when in the systemd/system directory, always use "--", as in: grep -- foo *
I forgot to add, when searching Bugzilla for existing bugs, a search for -.slice was interpreted as "show all bugs not containing ".slice"! Work-around: search for "-.slice" (with the quotes). (A dash is a terrible choice as the first character in any file name.)
Well, the slices build a tree, similar to a directory tree. Example: foo-bar-baz.slice is a child slice of foo-bar.slice. foo-bar.slice is a child slice of foo.slice which is a child slice of -.slice. The "-" is used as separator here, the way "/" is used in normal directory paths. A single "/" refers to the root directory, and accordingly a single "-" refers to the root slice... I see that it is sometimes annoying, if you do not know or use the "--" separator on command lines. However, it's also too late to change this, as this is API already. I also don't see any better character available. Sorry, but we cannot really change this.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.