cvs commit: src/usr.sbin/sysinstall config.c

David O'Brien obrien at freebsd.org
Wed Nov 3 17:29:22 PST 2004


On Wed, Nov 03, 2004 at 02:40:33PM +0200, Giorgos Keramidas wrote:
> I've discovered after submitting the change David committed that \' is
> not enough to quote single quotes in strings quoted with single quotes
> too.  The correct quoting would be something like:
> 
> vsystem("echo '# Note that BSD'\''s export syntax is \"host-centric\" vs. Sun'\''s \"FS-centric\" one.' >> /etc/exports");

This isn't a fix either -- what is '\'' supose to do?
 
-- 
-- David  (obrien at FreeBSD.org)


More information about the cvs-src mailing list