Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Aug 2003 01:07:54 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        chris@behanna.org
Cc:        FreeBSD-Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: getfsent(3) and spaces in fstab
Message-ID:  <3F2A1FDA.3934209C@mindspring.com>
References:  <20030730224505.GD531@zi025.glhnet.mhn.de> <1059607242.64020.5.camel@mjtdev1.dand06.au.bytecraft.au.com> <1059608748.64020.10.camel@mjtdev1.dand06.au.bytecraft.au.com> <20030731221450.A75410@topperwein.pennasoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris BeHanna wrote:
>     What about
> 
>     test%201    /mnt/test%201   ufs     ro      0       0
> 
> ?
> Ugly, yes, but that's how a lot of tools escape spaces.

"%" is almost infinitely more likely in a path than "\"; better
to use the "\" than the "%" mechanism.  Also, the parser can
b LALR single token lookahead, wheras "%" rewuires pushing state
(2 token lookahead).

-- Terry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F2A1FDA.3934209C>