]> git.pld-linux.org Git - packages/ruby.git/blob - erb.1
- CVE reference for 1.8.5
[packages/ruby.git] / erb.1
1 .TH ERB1.8 1 "April 2003"
2 .SH NAME
3 .PP
4 erb \- an embedded Ruby language interpreter
5 .SH SYNOPSIS
6 .PP
7 erb1.8 [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
This page took 0.862957 seconds and 3 git commands to generate.