File: fmt_ini.sdf

package info (click to toggle)
sdf 2.001%2B1-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 6,140 kB
  • sloc: perl: 18,543; sh: 31; makefile: 29
file content (40 lines) | stat: -rw-r--r-- 1,003 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $Id$
#
# >>Copyright::
# Copyright (c) 1992-1996, Ian Clatworthy (ianc@mincom.com).
# You may distribute under the terms specified in the LICENSE file.
#
# >>History::
# -----------------------------------------------------------------------
# Date      Who     Change
# 29-Feb-96 ianc    SDF 2.000
# -----------------------------------------------------------------------
#

H1: INI Format

H2: Purpose

INI files are used to store simple configuration information for scripts.

H2: Description

An INI file contains of a series of sections. Each section begins
with a header enclosed in '[' and ']'. Comment lines begin with
';' or '#' as the first non-whitespace character. Blank lines before
a section or at the end of a section are ignored.

H2: Examples

A sample file is:

!block example
[Drivers]
Format  Library     Subroutine  Book
mif     sdf2mif.pl  MifFormat   MifBook
raw     sdf2raw.pl  RawFormat

[PostProcessing]
ps     = &SdfBatch("-pfile")
doc    = &SdfBatch("-sdoc -Sd")
!endblock