Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 2004 18:07:51 +0100
From:      Stefan Farfeleder <stefanf@FreeBSD.org>
To:        "David E. O'Brien" <obrien@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/sysinstall config.c
Message-ID:  <20041101170748.GA81210@wombat.fafoe.narf.at>
In-Reply-To: <200411011632.iA1GWA8q030777@repoman.freebsd.org>
References:  <200411011632.iA1GWA8q030777@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 01, 2004 at 04:32:10PM +0000, David E. O'Brien wrote:
> obrien      2004-11-01 16:32:10 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     usr.sbin/sysinstall  config.c 
>   Log:
>   fix typo in generated /etc/exports: escape all '

> -	    vsystem("echo '# Note that BSD's export syntax is \"host-centric\" vs. Sun\'s \"FS-centric\" one.' >> /etc/exports");
> +	    vsystem("echo '# Note that BSD\'s export syntax is \"host-centric\" vs. Sun\'s \"FS-centric\" one.' >> /etc/exports");

You need two backslashes here; \' is equivalent to ' inside string literals.

Stefan



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