You are not logged in.

#1 2014-08-19 19:53:47

Neven
Member
Registered: 2014-05-02
Posts: 75

shell language in /etc/profile

Why does /etc/profile use the
uses the "foo" form of quoting instead of 'foo' in

PATH="/usr/local/sbin:/usr/local/bin:/usr/bin"

?
I think single quotes would be more appropriate - the string is entirely literal, it does not contain any of the characters double-quotes don't interpret literally (dollar sign, backslash, backquote).

Another thing:
I understand that the

var=foo
export foo

pattern is for old shells with an old syntax of the export builtin, but does anybody even run those kinds of pre-POSIX shells on Archlinux?

Last edited by Neven (2014-08-19 19:54:52)

Offline

Board footer

Powered by FluxBB