Date: Sun, 18 Dec 2011 18:20:04 GMT From: Jaakko Heinonen <jh@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/163432: Environment variables set from /etc/login.conf do not have surrounding quote characters removed Message-ID: <201112181820.pBIIK4Dq046108@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/163432; it has been noted by GNATS. From: Jaakko Heinonen <jh@FreeBSD.org> To: Mike Clarke <jmc-fbsdpr@milibyte.co.uk> Cc: bug-followup@FreeBSD.org Subject: Re: conf/163432: Environment variables set from /etc/login.conf do not have surrounding quote characters removed Date: Sun, 18 Dec 2011 20:18:37 +0200 Hi, On 2011-12-18, Mike Clarke wrote: > If /etc/login.conf is used to set an environment variable and the > value is enclosed between quote characters the quotes are not stripped > off when setting the variable. This problem only arises with FreeBSD > 9, the quotes were removed with earlier versions. > > :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES,EXINIT="set ai ic sw=3":\ Can you clarify the "earlier versions"? I get this on 8.2-RELEASE: $ env . . EXINIT="set ai ic sw=3" -- Jaakko
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112181820.pBIIK4Dq046108>