Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 1996 13:22:58 +0200
From:      Wolfram Schneider <wosch@cs.tu-berlin.de>
To:        Michael Smith <msmith@atrad.adelaide.edu.au>
Cc:        hackers@FreeBSD.org
Subject:   Quotes around variable values in /etc/sysconfig
Message-ID:  <199608221122.NAA00738@campa.panke.de>
In-Reply-To: <199608211634.CAA11665@genesis.atrad.adelaide.edu.au>
References:  <199608211634.CAA11665@genesis.atrad.adelaide.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Smith writes:
>	I missed Bruce's comment about quotes surrounding values in 
>sh config files like /etc/sysconfig - my question is basically
>whether there is any reason (other than elegance) why all values could
>not legitimately be quoted.

0) elegance 1) tradition 2) laziness

[Bruce Evans, in an other mail]
  Quotes should be added as necessary.  You always have to
  think about them because quoting may be required for metacharacters in
  the args.


>	Note that I'm not suggesting that this should be done for the
>FreeBSD point of view; I'm just working on some tools to manage these
>sort of files, and unconditionally quoting everything is easier 8)

I remember a FAQ about unix shell(s).

Wolfram



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608221122.NAA00738>