On Mon, Nov 01, 2004 at 03:52:51PM +0200, Giorgos Keramidas wrote: > On 2004-11-01 16:41, Maxim Konovalov <maxim_at_macomnet.ru> wrote: > > On Mon, 1 Nov 2004, 01:31-0500, Craig Reyenga wrote: > > > In /usr/src/usr.sbin/sysinstall/config.c: > > > > > > vsystem("echo '# Note that BSD's export synatx is \"host-centric\" vs. > > > Sun\'s \"FS-centric\" one.' >> /etc/exports"); > > > > > > 'Nuf said. > > > > Fixed about a month ago: > > > > revision 1.227 > > date: 2004/10/04 15:13:51; author: rse; state: Exp; lines: +1 -1 > > fix typo in generated /etc/exports: s/synatx/syntax/ > > A minor buglet still remains, IMHO: > > - 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"); In /bin/sh, the backslash is not special in single quotes. Try this (not tested either): > - 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"); Jilles TjoelkerReceived on Mon Nov 01 2004 - 17:30:38 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:20 UTC