Web page hosting, cheap domain name registration & web site promotion services
  

 Home

Go forward to ndbm maps.
Go backward to Map Types.
Go up to Map Types.
File maps
---------

   When Amd searches a file for a map entry it does a simple scan of
the file and supports both comments and continuation lines.

   Continuation lines are indicated by a backslash character (`\') as
the last character of a line in the file.  The backslash, newline
character *and any leading white space on the following line* are
discarded.  A maximum line length of 2047 characters is enforced after
continuation lines are read but before comments are stripped.  Each
line must end with a newline character; that is newlines are
terminators, not separators.  The following examples illustrate this:

     key     valA   valB;   \
               valC

   specifies *three* locations, and is identical to

     key     valA   valB;   valC

   However,

     key     valA   valB;\
               valC

   specifies only *two* locations, and is identical to

     key     valA   valB;valC

   After a complete line has been read from the file, including
continuations, Amd determines whether there is a comment on the line.
A comment begins with a hash ("`#'") character and continues to the end
of the line.  There is no way to escape or change the comment lead-in
character.

   Note that continuation lines and comment support "only" apply to
file maps, or ndbm maps built with the `mk-amd-map' program.

   When caching is enabled, file maps have a default cache mode of
`all' (see Automount Filesystem.).

 

 

 

 

Buy domain name registration | Register cheap domain name | Domain registration services 

Disclaimers: This document is provided as free service for the benefits of Active-Venture.com's website hosting customers only.

 

 
< Reading computer manuals without the hardware is as frustrating as reading sex manuals without the software.   >
 

Monday 1 December 2008 21:19:01 1228166341