forked from tmm1/matzruby
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy patherb.1
More file actions
72 lines (70 loc) · 1.06 KB
/
erb.1
File metadata and controls
72 lines (70 loc) · 1.06 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
.TH ERB1.8 1 "April 2003"
.SH NAME
.PP
erb \- an embedded Ruby language interpreter
.SH SYNOPSIS
.PP
erb1.8 [switches] [inputfile]
.SH DESCRIPTION
.PP
erb interprets a Ruby code embedded text file. For example, erb
enables you to embed a Ruby code to a HTML file.
A Ruby block starts with `<%' and ends with `%>'. erb replaces
the block with its output.
If `<%' is followed by `=', eRuby replaces the block with a value
of the block.
If `<%' is followed by `#', the block is ignored as a comment.
.SH OPTIONS
.PP
.TP
.fi
.B
\-x
print ruby script
.TP
.fi
.B
\-n
print ruby script with line number
.TP
.fi
.B
\-v
enables verbose mode
.TP
.fi
.B
\-d
set debugging flags (set $DEBUG to true)
.TP
.fi
.B
\-r library
load a library
.TP
.fi
.B
\-K kcode
specifies KANJI code\-set (euc or sjis) or UTF\-8 (utf8)
.TP
.fi
.B
\-S safe_level
set $SAFE (0..4)
.TP
.fi
.B
\-T trim_mode
specify trim_mode (0..2)
.TP
.fi
.B
\-P
disregard the lin which starts in "%"
.SH SEE ALSO
.PP
eruby(1)
.SH AUTHOR
.PP
This document stands on eruby(1) which is written by Shugo Maeda
<shugo@ruby\-lang.org>.