Ralph Corderoy <[email protected]> wrote:
 |I wrote:
 |> Eric Schmidt cooked up ~/.netrc as part of the Berkeley Network, and
 |> it has no comment character.
 |
 |http://web.mit.edu/usrdoc/misc/berknet/netintro.n is the original
 |definition.  I find GNU's inetutils-1.9.4's ftp/ruserpass.c seems to
 |stick to that:  no explicit comment character, allows comma as separator
 |not just whitespace, double-quoted string, etc.
 |
 |    machine "who needs a comment character anyway"

I have the CSRG archives and yes, that token based parser uses

        while((c = getc(cfile)) != EOF && (c == '\n' || c == '\t'
                || c == ' ' || c == ','));
        /* next char begins token */

I will also correct the comment that states that Hewlett-Packard
supports the commas, but the original BSD parser supported it,
too.  A moment ago i added the ',' comma separator, but then
again... no.  Noone does so (except maybe HP, but i don't know).
Ciao!

--steffen

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
__________________________________
[email protected]

Reply via email to