On Thu, Sep 29, 2016 at 9:40 AM, Jan Engelhardt
On Thursday 2016-09-29 09:24, Roger Oberholtzer wrote:
I changed to double quotes in my tests because that is what is actually in /etc/os-release - not the single quotes in the posts. Or perhaps single and double quotes are both allowed in this file?
Of course. Did you ever bother to read the manpage os-release(5)?
Hmmm. From the man page: "The basic file format of os-release is a newline-separated list of environment-like shell-compatible variable assignments. It is possible to source the configuration from shell scripts, however, beyond mere variable assignments, no shell features are supported (this means variable expansion is explicitly not supported)." It goes on to say: "Shell special characters ("$", quotes, backslash, backtick) must be escaped with backslashes" Do any openSUSE releases put unquoted special characters in this file? Or even quoted special characters? -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org