~ubuntu-branches/ubuntu/precise/ruby1.9.1/precise-proposed

« back to all changes in this revision

Viewing changes to debian/manpages/erb1.9.1.1

  • Committer: Bazaar Package Importer
  • Author(s): Lucas Nussbaum
  • Date: 2009-07-30 19:06:31 UTC
  • Revision ID: james.westby@ubuntu.com-20090730190631-3x30w2mtev71ah62
Tags: 1.9.1.243-0ubuntu1
* Upload snapshot from Debian's pkg-ruby SVN repository to karmic.
  SVN revision: 235.
  Likely to be similar to the final package uploaded to Debian.
  Known issues:
  + lintian warnings/errors (nothing important)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH ERB1.9 1 "April 2003"
 
2
.SH NAME
 
3
.PP
 
4
erb \- an embedded Ruby language interpreter
 
5
.SH SYNOPSIS
 
6
.PP
 
7
erb1.9 [switches] [inputfile]
 
8
.SH DESCRIPTION
 
9
.PP
 
10
erb interprets a Ruby code embedded text file. For example, erb
 
11
enables you to embed a Ruby code to a HTML file.
 
12
A Ruby block starts with `<%' and ends with `%>'. erb replaces
 
13
the block with its output.
 
14
If `<%' is followed by `=', eRuby replaces the block with a value
 
15
of the block.
 
16
If `<%' is followed by `#', the block is ignored as a comment.
 
17
.SH OPTIONS
 
18
.PP
 
19
 
 
20
.TP
 
21
.fi
 
22
.B
 
23
\-x
 
24
print ruby script
 
25
.TP
 
26
.fi
 
27
.B
 
28
\-n
 
29
print ruby script with line number
 
30
.TP
 
31
.fi
 
32
.B
 
33
\-v
 
34
enables verbose mode
 
35
.TP
 
36
.fi
 
37
.B
 
38
\-d
 
39
set debugging flags (set $DEBUG to true)
 
40
.TP
 
41
.fi
 
42
.B
 
43
\-r library
 
44
load a library
 
45
.TP
 
46
.fi
 
47
.B
 
48
\-K kcode
 
49
specifies KANJI code\-set (euc or sjis) or UTF\-8 (utf8)
 
50
.TP
 
51
.fi
 
52
.B
 
53
\-S safe_level
 
54
set $SAFE (0..4)
 
55
.TP
 
56
.fi
 
57
.B
 
58
\-T trim_mode
 
59
specify trim_mode (0..2)
 
60
.TP
 
61
.fi
 
62
.B
 
63
\-P
 
64
disregard the lin which starts in "%" 
 
65
.SH SEE ALSO
 
66
.PP
 
67
eruby(1)
 
68
.SH AUTHOR
 
69
.PP
 
70
This document stands on eruby(1) which is written by Shugo Maeda
 
71
<shugo@ruby\-lang.org>.
 
72