452 KB
reproducibleA vs.
reproducibleB
452 KB
reproducibleA/tmp vs.
reproducibleB/tmp
452 KB
reproducibleA/tmp/deploy vs.
reproducibleB/tmp/deploy
143 KB
reproducibleA/tmp/deploy/deb vs.
reproducibleB/tmp/deploy/deb
143 KB
reproducibleA/tmp/deploy/deb/core2-64 vs.
reproducibleB/tmp/deploy/deb/core2-64
95.4 KB
reproducibleA/tmp/deploy/deb/core2-64/libedit-doc_20210910-3.1-r0_amd64.deb vs.
reproducibleB/tmp/deploy/deb/core2-64/libedit-doc_20210910-3.1-r0_amd64.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2021-09-10·16:57:16.000000·debian-binary1 -rw-r--r--···0········0········0········4·2021-09-10·16:57:16.000000·debian-binary
2 -rw-r--r--···0········0········0······664·2021-09-10·16:57:16.000000·control.tar.xz2 -rw-r--r--···0········0········0······664·2021-09-10·16:57:16.000000·control.tar.xz
3 -rw-r--r--···0········0········0····15880·2021-09-10·16:57:16.000000·data.tar.xz3 -rw-r--r--···0········0········0····14904·2021-09-10·16:57:16.000000·data.tar.xz
94.9 KB
data.tar.xz
94.9 KB
data.tar
2.32 KB
file list
    
Offset 1, 17 lines modifiedOffset 1, 17 lines modified
1 drwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./1 drwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./
2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/
3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/
4 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/4 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/
5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/
6 -rw-r--r--···0·root·········(0)·root·········(0)····24116·2021-09-10·16:57:16.000000·./usr/share/man/man3/editline.36 -rw-r--r--···0·root·········(0)·root·········(0)····23828·2021-09-10·16:57:16.000000·./usr/share/man/man3/editline.3
7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man5/7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man5/
8 -rw-r--r--···0·root·········(0)·root·········(0)·····7064·2021-09-10·16:57:16.000000·./usr/share/man/man5/editrc.58 -rw-r--r--···0·root·········(0)·root·········(0)·····5472·2021-09-10·16:57:16.000000·./usr/share/man/man5/editrc.5
9 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man7/9 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man7/
10 -rw-r--r--···0·root·········(0)·root·········(0)····33733·2021-09-10·16:57:16.000000·./usr/share/man/man7/editline.710 -rw-r--r--···0·root·········(0)·root·········(0)····33148·2021-09-10·16:57:16.000000·./usr/share/man/man7/editline.7
11 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_deletestr.3·->·editline.311 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_deletestr.3·->·editline.3
12 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_end.3·->·editline.312 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_end.3·->·editline.3
13 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_get.3·->·editline.313 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_get.3·->·editline.3
14 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_getc.3·->·editline.314 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_getc.3·->·editline.3
15 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_gets.3·->·editline.315 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_gets.3·->·editline.3
16 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_init.3·->·editline.316 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_init.3·->·editline.3
17 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_init_fd.3·->·editline.317 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_init_fd.3·->·editline.3
36.1 KB
./usr/share/man/man3/editline.3
    
Offset 1, 1020 lines modifiedOffset 1, 1172 lines modified
 1 .TH·EDITLINE·3·"August·15,·2021"·""
1 .\"»    $NetBSD:·editline.3,v·1.101·2021/08/15·10:12:54·wiz·Exp·$ 
2 .\" 
3 .\"·Copyright·(c)·1997-2014·The·NetBSD·Foundation,·Inc. 
4 .\"·All·rights·reserved. 
5 .\" 
6 .\"·This·file·was·contributed·to·The·NetBSD·Foundation·by·Luke·Mewburn. 
7 .\" 
8 .\"·Redistribution·and·use·in·source·and·binary·forms,·with·or·without 
9 .\"·modification,·are·permitted·provided·that·the·following·conditions 
10 .\"·are·met: 
11 .\"·1.·Redistributions·of·source·code·must·retain·the·above·copyright 
12 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer. 
13 .\"·2.·Redistributions·in·binary·form·must·reproduce·the·above·copyright 
14 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer·in·the 
15 .\"····documentation·and/or·other·materials·provided·with·the·distribution. 
16 .\" 
17 .\"·THIS·SOFTWARE·IS·PROVIDED·BY·THE·NETBSD·FOUNDATION,·INC.·AND·CONTRIBUTORS 
18 .\"·``AS·IS''·AND·ANY·EXPRESS·OR·IMPLIED·WARRANTIES,·INCLUDING,·BUT·NOT·LIMITED 
19 .\"·TO,·THE·IMPLIED·WARRANTIES·OF·MERCHANTABILITY·AND·FITNESS·FOR·A·PARTICULAR 
20 .\"·PURPOSE·ARE·DISCLAIMED.··IN·NO·EVENT·SHALL·THE·FOUNDATION·OR·CONTRIBUTORS 
21 .\"·BE·LIABLE·FOR·ANY·DIRECT,·INDIRECT,·INCIDENTAL,·SPECIAL,·EXEMPLARY,·OR 
22 .\"·CONSEQUENTIAL·DAMAGES·(INCLUDING,·BUT·NOT·LIMITED·TO,·PROCUREMENT·OF 
23 .\"·SUBSTITUTE·GOODS·OR·SERVICES;·LOSS·OF·USE,·DATA,·OR·PROFITS;·OR·BUSINESS 
24 .\"·INTERRUPTION)·HOWEVER·CAUSED·AND·ON·ANY·THEORY·OF·LIABILITY,·WHETHER·IN 
25 .\"·CONTRACT,·STRICT·LIABILITY,·OR·TORT·(INCLUDING·NEGLIGENCE·OR·OTHERWISE) 
26 .\"·ARISING·IN·ANY·WAY·OUT·OF·THE·USE·OF·THIS·SOFTWARE,·EVEN·IF·ADVISED·OF·THE 
27 .\"·POSSIBILITY·OF·SUCH·DAMAGE. 
28 .\" 
29 .Dd·August·15,·2021 
30 .Dt·EDITLINE·3 
31 .Os 
32 .Sh·NAME2 .SH·NAME
33 .Nm·editline·, 
34 .Nm·el_init·, 
35 .Nm·el_init_fd·, 
36 .Nm·el_end·, 
37 .Nm·el_reset·, 
38 .Nm·el_gets·, 
39 .Nm·el_wgets·, 
40 .Nm·el_getc·, 
41 .Nm·el_wgetc·, 
42 .Nm·el_push·, 
43 .Nm·el_wpush·, 
44 .Nm·el_parse·, 
45 .Nm·el_wparse·, 
46 .Nm·el_set·, 
47 .Nm·el_wset·, 
48 .Nm·el_get·, 
49 .Nm·el_wget·, 
50 .Nm·el_source·, 
51 .Nm·el_resize·, 
52 .Nm·el_cursor·, 
53 .Nm·el_line·, 
54 .Nm·el_wline·, 
55 .Nm·el_insertstr·, 
56 .Nm·el_winsertstr·, 
57 .Nm·el_deletestr·, 
58 .Nm·el_wdeletestr·, 
59 .Nm·history_init·, 
60 .Nm·history_winit·, 
61 .Nm·history_end·, 
62 .Nm·history_wend·, 
63 .Nm·history·, 
64 .Nm·history_w·, 
65 .Nm·tok_init·, 
66 .Nm·tok_winit·, 
67 .Nm·tok_end·, 
68 .Nm·tok_wend·, 
69 .Nm·tok_reset·, 
70 .Nm·tok_wreset·, 
71 .Nm·tok_line·, 
72 .Nm·tok_wline·, 
73 .Nm·tok_str·, 
74 .Nm·tok_wstr3 \fBeditline\fP,
 4 \fBel_init\fP,
 5 \fBel_init_fd\fP,
 6 \fBel_end\fP,
 7 \fBel_reset\fP,
 8 \fBel_gets\fP,
 9 \fBel_wgets\fP,
 10 \fBel_getc\fP,
 11 \fBel_wgetc\fP,
 12 \fBel_push\fP,
 13 \fBel_wpush\fP,
 14 \fBel_parse\fP,
 15 \fBel_wparse\fP,
 16 \fBel_set\fP,
 17 \fBel_wset\fP,
 18 \fBel_get\fP,
 19 \fBel_wget\fP,
 20 \fBel_source\fP,
 21 \fBel_resize\fP,
 22 \fBel_cursor\fP,
 23 \fBel_line\fP,
 24 \fBel_wline\fP,
 25 \fBel_insertstr\fP,
 26 \fBel_winsertstr\fP,
 27 \fBel_deletestr\fP,
 28 \fBel_wdeletestr\fP,
 29 \fBhistory_init\fP,
 30 \fBhistory_winit\fP,
 31 \fBhistory_end\fP,
 32 \fBhistory_wend\fP,
 33 \fBhistory\fP,
 34 \fBhistory_w\fP,
 35 \fBtok_init\fP,
 36 \fBtok_winit\fP,
 37 \fBtok_end\fP,
 38 \fBtok_wend\fP,
 39 \fBtok_reset\fP,
 40 \fBtok_wreset\fP,
 41 \fBtok_line\fP,
 42 \fBtok_wline\fP,
 43 \fBtok_str\fP,
 44 \fBtok_wstr\fP
75 .Nd·line·editor,·history·and·tokenization·functions45 \-·line·editor,·history·and·tokenization·functions
76 .Sh·LIBRARY46 .SH·LIBRARY
77 .Lb·libedit47 Command·Line·Editor·Library·(libedit,·-ledit)
78 .Sh·SYNOPSIS48 .SH·SYNOPSIS
79 .In·histedit.h 
80 .Ft·EditLine·* 
81 .Fn·el_init·"const·char·*prog"·"FILE·*fin"·"FILE·*fout"·"FILE·*ferr" 
82 .Ft·EditLine·* 
83 .Fn·el_init_fd·"const·char·*prog"·"FILE·*fin"·"FILE·*fout"·"FILE·*ferr"·"int·fdin"·"int·fdout"·"int·fderr" 
84 .Ft·void 
85 .Fn·el_end·"EditLine·*e" 
... Open expanded diff ...
9.49 KB
./usr/share/man/man5/editrc.5
    
Offset 1, 325 lines modifiedOffset 1, 314 lines modified
 1 .TH·EDITRC·5·"May·22,·2016"·""
1 .\"»    $NetBSD:·editrc.5,v·1.33·2017/06/27·01:22:58·kre·Exp·$ 
2 .\" 
3 .\"·Copyright·(c)·1997-2000·The·NetBSD·Foundation,·Inc. 
4 .\"·All·rights·reserved. 
5 .\" 
6 .\"·This·file·was·contributed·to·The·NetBSD·Foundation·by·Luke·Mewburn. 
7 .\" 
8 .\"·Redistribution·and·use·in·source·and·binary·forms,·with·or·without 
9 .\"·modification,·are·permitted·provided·that·the·following·conditions 
10 .\"·are·met: 
11 .\"·1.·Redistributions·of·source·code·must·retain·the·above·copyright 
12 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer. 
13 .\"·2.·Redistributions·in·binary·form·must·reproduce·the·above·copyright 
14 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer·in·the 
15 .\"····documentation·and/or·other·materials·provided·with·the·distribution. 
16 .\" 
17 .\"·THIS·SOFTWARE·IS·PROVIDED·BY·THE·NETBSD·FOUNDATION,·INC.·AND·CONTRIBUTORS 
18 .\"·``AS·IS''·AND·ANY·EXPRESS·OR·IMPLIED·WARRANTIES,·INCLUDING,·BUT·NOT·LIMITED 
19 .\"·TO,·THE·IMPLIED·WARRANTIES·OF·MERCHANTABILITY·AND·FITNESS·FOR·A·PARTICULAR 
20 .\"·PURPOSE·ARE·DISCLAIMED.··IN·NO·EVENT·SHALL·THE·FOUNDATION·OR·CONTRIBUTORS 
21 .\"·BE·LIABLE·FOR·ANY·DIRECT,·INDIRECT,·INCIDENTAL,·SPECIAL,·EXEMPLARY,·OR 
22 .\"·CONSEQUENTIAL·DAMAGES·(INCLUDING,·BUT·NOT·LIMITED·TO,·PROCUREMENT·OF 
23 .\"·SUBSTITUTE·GOODS·OR·SERVICES;·LOSS·OF·USE,·DATA,·OR·PROFITS;·OR·BUSINESS 
24 .\"·INTERRUPTION)·HOWEVER·CAUSED·AND·ON·ANY·THEORY·OF·LIABILITY,·WHETHER·IN 
25 .\"·CONTRACT,·STRICT·LIABILITY,·OR·TORT·(INCLUDING·NEGLIGENCE·OR·OTHERWISE) 
26 .\"·ARISING·IN·ANY·WAY·OUT·OF·THE·USE·OF·THIS·SOFTWARE,·EVEN·IF·ADVISED·OF·THE 
27 .\"·POSSIBILITY·OF·SUCH·DAMAGE. 
28 .\" 
29 .Dd·May·22,·2016 
30 .Dt·EDITRC·5 
31 .Os 
32 .Sh·NAME2 .SH·NAME
33 .Nm·editrc3 \fBeditrc\fP
34 .Nd·configuration·file·for·editline·library4 \-·configuration·file·for·editline·library
35 .Sh·SYNOPSIS5 .SH·SYNOPSIS
36 .Nm6 .br
 7 \fBeditrc\fP
37 .Sh·DESCRIPTION8 .SH·DESCRIPTION
38 The9 The
39 .Nm10 \fBeditrc\fP
40 file·defines·various·settings·to·be·used·by·the11 file·defines·various·settings·to·be·used·by·the
41 .Xr·editline·312 \fBeditline\fP(3)
42 library.13 library.
43 .Pp 
44 The·format·of·each·line·is:14 The·format·of·each·line·is:
45 .Pp 
46 .Dl·[prog:]command·[arg·...]15 [prog:]command·[arg·...]
47 .Pp 
48 .Ar·command 
 16 \fIcommand\fP
49 is·one·of·the17 is·one·of·the
50 .Xr·editline·318 \fBeditline\fP(3)
51 builtin·commands.19 builtin·commands.
52 Refer·to20 Refer·to
53 .Sx·BUILTIN·COMMANDS21 .B·BUILTIN·COMMANDS
54 for·more·information.22 for·more·information.
55 .Pp 
56 .Ar·prog 
 23 \fIprog\fP
57 is·the·program·name·string·that·a·program·defines·when·it·calls24 is·the·program·name·string·that·a·program·defines·when·it·calls
58 .Xr·el_init·325 \fBel_init\fP(3)
59 to·set·up26 to·set·up
60 .Xr·editline·3·,27 \fBeditline\fP(3),
61 which·is·usually28 which·is·usually
62 .Va·argv[0]·. 
63 .Ar·command29 \fIargv[0]\fP.
 30 \fIcommand\fP
64 will·be·executed·for·any·program·which·matches31 will·be·executed·for·any·program·which·matches
65 .Ar·prog·. 
66 .Pp 
67 .Ar·prog32 \fIprog\fP.
  
 33 \fIprog\fP
68 may·also·be·a34 may·also·be·a
69 .Xr·regex·335 \fBregex\fP(3)
70 style36 style
71 regular·expression,·in·which·case37 regular·expression,·in·which·case
72 .Ar·command38 \fIcommand\fP
73 will·be·executed·for·any·program·that·matches·the·regular·expression.39 will·be·executed·for·any·program·that·matches·the·regular·expression.
74 .Pp 
75 If40 If
76 .Ar·prog41 \fIprog\fP
77 is·absent,42 is·absent,
78 .Ar·command43 \fIcommand\fP
79 is·executed·for·all·programs.44 is·executed·for·all·programs.
80 .Sh·BUILTIN·COMMANDS45 .SH·BUILTIN·COMMANDS
81 The46 The
82 .Nm·editline47 \fBeditline\fP
83 library·has·some·builtin·commands,·which·affect·the·way48 library·has·some·builtin·commands,·which·affect·the·way
84 that·the·line·editing·and·history·functions·operate.49 that·the·line·editing·and·history·functions·operate.
85 These·are·based·on·similar·named·builtins·present·in·the50 These·are·based·on·similar·named·builtins·present·in·the
86 .Xr·tcsh·151 \fBtcsh\fP(1)
87 shell.52 shell.
88 .Pp 
89 The·following·builtin·commands·are·available:53 The·following·builtin·commands·are·available:
90 .Bl·-tag·-width·4n 
91 .It·Ic·bind·Oo·Fl·aeklrsv·Oc·Op·Ar·key·Op·Ar·command54 .TP
 55 \fBbind·Oo·Fl·aeklrsv·Oc·[\fIkey\fP·[\fIcommand]]\fP\fP
92 Without·options·and·arguments,·list·all·bound·keys·and·macros,·and56 Without·options·and·arguments,·list·all·bound·keys·and·macros,·and
93 the·editor·command·or·input·string·to·which·each·one·is·bound.57 the·editor·command·or·input·string·to·which·each·one·is·bound.
94 If·only58 If·only
95 .Ar·key59 \fIkey\fP
96 is·supplied,·show·the·binding·for·that·key·or·macro.60 is·supplied,·show·the·binding·for·that·key·or·macro.
97 If61 If
98 .Ar·key·command62 \fIkey\fP·command
99 is·supplied,·bind·the·editor63 is·supplied,·bind·the·editor
100 .Ar·command64 \fIcommand\fP
101 to·that·key·or·macro.65 to·that·key·or·macro.
102 .Pp 
103 The·options·are·as·follows:66 The·options·are·as·follows:
104 .Bl·-tag·-width·4n 
105 .It·Fl·a67 .RS
 68 .TP
 69 \fB\-a\fP
106 List·or·change·key·bindings·in·the70 List·or·change·key·bindings·in·the
107 .Xr·vi·171 \fBvi\fP(1)
108 mode·alternate·(command·mode)·key·map.72 mode·alternate·(command·mode)·key·map.
109 .It·Fl·e73 .TP
 74 \fB\-e\fP
110 Bind·all·keys·to·the·standard·GNU·Emacs-like·bindings.75 Bind·all·keys·to·the·standard·GNU·Emacs-like·bindings.
111 .It·Fl·k 
112 .Ar·key76 .TP
 77 \fB\-k\fP
 78 \fIkey\fP
113 is·interpreted·as·a·symbolic·arrow·key·name,·which·may·be·one·of79 is·interpreted·as·a·symbolic·arrow·key·name,·which·may·be·one·of
114 .Sq·up·, 
... Open expanded diff ...
47.0 KB
./usr/share/man/man7/editline.7
    
Offset 1, 935 lines modifiedOffset 1, 1001 lines modified
 1 .TH·EDITLINE·7·"May·7,·2016"·""
1 .\"»    $NetBSD:·editline.7,v·1.5·2016/05/09·21:27:55·christos·Exp·$ 
2 .\"»    $OpenBSD:·editline.7,v·1.1·2016/04/20·01:11:45·schwarze·Exp·$ 
3 .\" 
4 .\"·Copyright·(c)·2016·Ingo·Schwarze·<schwarze@openbsd.org> 
5 .\" 
6 .\"·Permission·to·use,·copy,·modify,·and·distribute·this·software·for·any 
7 .\"·purpose·with·or·without·fee·is·hereby·granted,·provided·that·the·above 
8 .\"·copyright·notice·and·this·permission·notice·appear·in·all·copies. 
9 .\" 
10 .\"·THE·SOFTWARE·IS·PROVIDED·"AS·IS"·AND·THE·AUTHOR·DISCLAIMS·ALL·WARRANTIES 
11 .\"·WITH·REGARD·TO·THIS·SOFTWARE·INCLUDING·ALL·IMPLIED·WARRANTIES·OF 
12 .\"·MERCHANTABILITY·AND·FITNESS.·IN·NO·EVENT·SHALL·THE·AUTHOR·BE·LIABLE·FOR 
13 .\"·ANY·SPECIAL,·DIRECT,·INDIRECT,·OR·CONSEQUENTIAL·DAMAGES·OR·ANY·DAMAGES 
14 .\"·WHATSOEVER·RESULTING·FROM·LOSS·OF·USE,·DATA·OR·PROFITS,·WHETHER·IN·AN 
15 .\"·ACTION·OF·CONTRACT,·NEGLIGENCE·OR·OTHER·TORTIOUS·ACTION,·ARISING·OUT·OF 
16 .\"·OR·IN·CONNECTION·WITH·THE·USE·OR·PERFORMANCE·OF·THIS·SOFTWARE. 
17 .\" 
18 .Dd·May·7,·2016 
19 .Dt·EDITLINE·7 
20 .Os 
21 .Sh·NAME2 .SH·NAME
22 .Nm·editline3 \fBeditline\fP
23 .Nd·line·editing·user·interface4 \-·line·editing·user·interface
24 .Sh·DESCRIPTION5 .SH·DESCRIPTION
25 When·a·program·using·the6 When·a·program·using·the
26 .Xr·editline·37 \fBeditline\fP(3)
27 library·prompts·for·an·input·string·using·the·function8 library·prompts·for·an·input·string·using·the·function
28 .Xr·el_wgets·3·,9 \fBel_wgets\fP(3),
29 it·reads·characters·from·the·terminal.10 it·reads·characters·from·the·terminal.
30 Invalid·input·bytes·that·do·not·form·characters·are·silently11 Invalid·input·bytes·that·do·not·form·characters·are·silently
31 discarded.12 discarded.
32 For·each·character·read,·one·editor·command·is·executed.13 For·each·character·read,·one·editor·command·is·executed.
33 The·mapping·of·input·characters·to·editor·commands·depends·on·the14 The·mapping·of·input·characters·to·editor·commands·depends·on·the
34 editing·mode.15 editing·mode.
35 There·are·three·editing·modes:·vi·insert·mode,·vi·command·mode,16 There·are·three·editing·modes:·vi·insert·mode,·vi·command·mode,
36 and·emacs·mode.17 and·emacs·mode.
37 The·default·is·vi·insert·mode.18 The·default·is·vi·insert·mode.
38 The·program·can·switch·the·default·to·emacs·mode·by·using·the19 The·program·can·switch·the·default·to·emacs·mode·by·using·the
39 .Xr·el_set·320 \fBel_set\fP(3)
40 or21 or
41 .Xr·el_parse·322 \fBel_parse\fP(3)
42 functions,·and·the·user·can·switch·to·emacs·mode·either·in·the23 functions,·and·the·user·can·switch·to·emacs·mode·either·in·the
43 .Xr·editrc·524 \fBeditrc\fP(5)
44 configuration·file·or·interactively·with·the25 configuration·file·or·interactively·with·the
45 .Ic·ed-command26 \fBed-command\fP
46 editor·command,·in·all·three·cases·executing·the27 editor·command,·in·all·three·cases·executing·the
47 .Ic·bind·Fl·e28 \fBbind·Fl·e\fP
48 builtin·command.29 builtin·command.
49 .Pp 
50 If·trying·to·read·from·the·terminal·results·in·end·of·file·or·an30 If·trying·to·read·from·the·terminal·results·in·end·of·file·or·an
51 error,·the·library·signals·end·of·file·to·the·program·and·does·not31 error,·the·library·signals·end·of·file·to·the·program·and·does·not
52 return·a·string.32 return·a·string.
53 .Ss·Input·character·bindings33 .SS·Input·character·bindings
54 All·default·bindings·described·below·can·be·overridden·by·individual34 All·default·bindings·described·below·can·be·overridden·by·individual
55 programs·and·can·be·changed·with·the35 programs·and·can·be·changed·with·the
56 .Xr·editrc·5 
57 .Ic·bind36 \fBeditrc\fP(5)
 37 \fBbind\fP
58 builtin·command.38 builtin·command.
59 .Pp 
60 In·the·following·tables,39 In·the·following·tables,
61 .Sq·Ctrl-40 `Ctrl-'
62 indicates·a·character·with·the·bit·0x40·flipped,·and41 indicates·a·character·with·the·bit·0x40·flipped,·and
63 .Sq·Meta-42 `Meta-'
64 indicates·a·character·with·the·bit·0x80·set.43 indicates·a·character·with·the·bit·0x80·set.
65 In·vi·insert·mode·and·in·emacs·mode,·all·Meta-characters·considered44 In·vi·insert·mode·and·in·emacs·mode,·all·Meta-characters·considered
66 printable·by·the·current45 printable·by·the·current
67 .Xr·locale·146 \fBlocale\fP(1)
68 are·bound·to47 are·bound·to
69 .Ic·ed-insert48 \fBed-insert\fP
70 instead·of·to·the·editor·command·listed·below.49 instead·of·to·the·editor·command·listed·below.
71 Consequently,·in·UTF-8·mode,·most·of·the·Meta-characters·are·not50 Consequently,·in·UTF-8·mode,·most·of·the·Meta-characters·are·not
72 directly·accessible·because·their·code·points·are·occupied·by51 directly·accessible·because·their·code·points·are·occupied·by
73 printable·Unicode·characters,·and·Meta-characters·are·usually·input52 printable·Unicode·characters,·and·Meta-characters·are·usually·input
74 using·the53 using·the
75 .Ic·em-meta-next54 \fBem-meta-next\fP
76 editor·command.55 editor·command.
77 For·example,·to·enter56 For·example,·to·enter
78 .Sq·Meta-B57 `Meta-B'
79 in·order·to·call·the58 in·order·to·call·the
80 .Ic·ed-prev-word59 \fBed-prev-word\fP
81 editor·command·in·emacs·mode,·call60 editor·command·in·emacs·mode,·call
82 .Ic·em-meta-next61 \fBem-meta-next\fP
83 by·pressing·and·releasing·the·escape·key·(or·equivalently,·Ctrl-[),62 by·pressing·and·releasing·the·escape·key·(or·equivalently,·Ctrl-[),
84 then·press·and·release·the63 then·press·and·release·the
85 .Sq·B64 `B'
86 key.65 key.
87 If·you·have·configured·a·Meta-key·on·your·keyboard,·for·example66 If·you·have·configured·a·Meta-key·on·your·keyboard,·for·example
88 with67 with
89 .Ql·setxkbmap·-option·altwin:left_meta_win·,68 `setxkbmap'·-option·altwin:left_meta_win·,
90 the·Ctrl-Meta-characters·are·directly·accessible.69 the·Ctrl-Meta-characters·are·directly·accessible.
91 For·example,·to·enter70 For·example,·to·enter
92 .Sq·Ctrl-Meta-H71 `Ctrl-Meta-H'
93 in·order·to·call·the72 in·order·to·call·the
94 .Ic·ed-delete-prev-word73 \fBed-delete-prev-word\fP
95 editor·command·in·emacs·mode,·hold·down·the·keys74 editor·command·in·emacs·mode,·hold·down·the·keys
96 .Sq·Ctrl·, 
97 .Sq·Meta·,75 `Ctrl',
 76 `Meta',
98 and77 and
99 .Sq·H78 `H'
100 at·the·same·time.79 at·the·same·time.
101 Alternatively,·press·and·release·the·escape·key,·then·press·and80 Alternatively,·press·and·release·the·escape·key,·then·press·and
102 release81 release
103 .Sq·Ctrl-H·. 
104 .Pp82 `Ctrl-H'.
  
105 In·vi·input·mode,·input·characters·are·bound·to·the·following·editor83 In·vi·input·mode,·input·characters·are·bound·to·the·following·editor
106 commands·by·default:84 commands·by·default:
107 .Bl·-column·-offset·indent·"Ctrl-Z,·TSTP"·"ed-search-next-history" 
108 .It·Ctrl-D,·EOF·Ta·Ic·vi-list-or-eof85 It·Ctrl-D,·EOF·Ta·\fBvi-list-or-eof\fP
109 .It·Ctrl-H,·BS·Ta·Ic·vi-delete-prev-char86 It·Ctrl-H,·BS·Ta·\fBvi-delete-prev-char\fP
110 .It·Ctrl-J,·LF·Ta·Ic·ed-newline87 It·Ctrl-J,·LF·Ta·\fBed-newline\fP
111 .It·Ctrl-M,·CR·Ta·Ic·ed-newline88 It·Ctrl-M,·CR·Ta·\fBed-newline\fP
112 .It·Ctrl-Q·Ta·Ic·ed-tty-start-output89 It·Ctrl-Q·Ta·\fBed-tty-start-output\fP
113 .It·Ctrl-S·Ta·Ic·ed-tty-stop-output90 It·Ctrl-S·Ta·\fBed-tty-stop-output\fP
114 .It·Ctrl-U·Ta·Ic·vi-kill-line-prev91 It·Ctrl-U·Ta·\fBvi-kill-line-prev\fP
115 .It·Ctrl-V·Ta·Ic·ed-quoted-insert92 It·Ctrl-V·Ta·\fBed-quoted-insert\fP
116 .It·Ctrl-W·Ta·Ic·ed-delete-prev-word93 It·Ctrl-W·Ta·\fBed-delete-prev-word\fP
117 .It·Ctrl-[,·ESC·Ta·Ic·vi-command-mode94 It·Ctrl-[,·ESC·Ta·\fBvi-command-mode\fP
118 .It·Ctrl-\e,·QUIT·Ta·Ic·ed-tty-sigquit95 It·Ctrl-\e,·QUIT·Ta·\fBed-tty-sigquit\fP
119 .It·Ctrl-?,·DEL·Ta·Ic·vi-delete-prev-char96 It·Ctrl-?,·DEL·Ta·\fBvi-delete-prev-char\fP
  
120 .El 
121 .Pp 
122 All·other·input·characters·except·the·NUL·character·(Ctrl-@)·are97 All·other·input·characters·except·the·NUL·character·(Ctrl-@)·are
... Open expanded diff ...
46.8 KB
reproducibleA/tmp/deploy/deb/core2-64/ruby-doc_3.1.3-r0_amd64.deb vs.
reproducibleB/tmp/deploy/deb/core2-64/ruby-doc_3.1.3-r0_amd64.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2022-11-24·10:20:33.000000·debian-binary1 -rw-r--r--···0········0········0········4·2022-11-24·10:20:33.000000·debian-binary
2 -rw-r--r--···0········0········0······580·2022-11-24·10:20:33.000000·control.tar.xz2 -rw-r--r--···0········0········0······580·2022-11-24·10:20:33.000000·control.tar.xz
3 -rw-r--r--···0········0········0·····9736·2022-11-24·10:20:33.000000·data.tar.xz3 -rw-r--r--···0········0········0·····9620·2022-11-24·10:20:33.000000·data.tar.xz
46.4 KB
data.tar.xz
46.3 KB
data.tar
1.4 KB
file list
    
Offset 1, 9 lines modifiedOffset 1, 9 lines modified
1 drwxrwxrwx···0·root·········(0)·root·········(0)········0·2022-11-24·10:20:33.000000·./1 drwxrwxrwx···0·root·········(0)·root·········(0)········0·2022-11-24·10:20:33.000000·./
2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-11-24·10:20:33.000000·./usr/2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-11-24·10:20:33.000000·./usr/
3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-11-24·10:20:33.000000·./usr/share/3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-11-24·10:20:33.000000·./usr/share/
4 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-11-24·10:20:33.000000·./usr/share/man/4 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-11-24·10:20:33.000000·./usr/share/man/
5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-11-24·10:20:33.000000·./usr/share/man/man1/5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-11-24·10:20:33.000000·./usr/share/man/man1/
6 -rw-r--r--···0·root·········(0)·root·········(0)·····3326·2022-11-24·10:20:33.000000·./usr/share/man/man1/erb.16 -rw-r--r--···0·root·········(0)·root·········(0)·····3161·2022-11-24·10:20:33.000000·./usr/share/man/man1/erb.1
7 -rw-r--r--···0·root·········(0)·root·········(0)·····4421·2022-11-24·10:20:33.000000·./usr/share/man/man1/irb.17 -rw-r--r--···0·root·········(0)·root·········(0)·····4434·2022-11-24·10:20:33.000000·./usr/share/man/man1/irb.1
8 -rw-r--r--···0·root·········(0)·root·········(0)·····5347·2022-11-24·10:20:33.000000·./usr/share/man/man1/ri.18 -rw-r--r--···0·root·········(0)·root·········(0)·····4911·2022-11-24·10:20:33.000000·./usr/share/man/man1/ri.1
9 -rw-r--r--···0·root·········(0)·root·········(0)····19084·2022-11-24·10:20:33.000000·./usr/share/man/man1/ruby.19 -rw-r--r--···0·root·········(0)·root·········(0)····18341·2022-11-24·10:20:33.000000·./usr/share/man/man1/ruby.1
4.75 KB
./usr/share/man/man1/erb.1
    
Offset 1, 160 lines modifiedOffset 1, 184 lines modified
 1 .TH·ERB·\&1·"Ruby·Programmer's·Reference·Guide"·"December·16,·2018"·"UNIX"
1 .\"Ruby·is·copyrighted·by·Yukihiro·Matsumoto·<matz@netlab.jp>. 
2 .Dd·December·16,·2018 
3 .Dt·ERB·\&1·"Ruby·Programmer's·Reference·Guide" 
4 .Os·UNIX 
5 .Sh·NAME2 .SH·NAME
6 .Nm·erb3 \fBerb\fP
7 .Nd·Ruby·Templating4 \-·Ruby·Templating
8 .Sh·SYNOPSIS5 .SH·SYNOPSIS
9 .Nm 
10 .Op·Fl·-version 
11 .Op·Fl·UPdnvx 
12 .Op·Fl·E·Ar·ext·Ns·Op·Ns·:·Ns·int 
13 .Op·Fl·S·Ar·level 
14 .Op·Fl·T·Ar·mode 
15 .Op·Fl·r·Ar·library 
16 .Op·Fl·- 
17 .Op·file·... 
18 .Pp6 .br
 7 \fBerb\fP
 8 [\fB\--version\fP]
 9 [\fB\-UPdnvx\fP]
 10 [\fB\-E\fP·\fIext\fP[:int]]
 11 [\fB\-S\fP·\fIlevel\fP]
 12 [\fB\-T\fP·\fImode\fP]
 13 [\fB\-r\fP·\fIlibrary\fP]
 14 [\fB\--\fP]
 15 [file·...]
  
19 .Sh·DESCRIPTION16 .SH·DESCRIPTION
20 .Nm17 \fBerb\fP
21 is·a·command·line·front-end·for18 is·a·command·line·front-end·for
22 .Li·"ERB"19 "ERB"
23 library,·which·is·an·implementation·of·eRuby.20 library,·which·is·an·implementation·of·eRuby.
24 .Pp 
25 ERB·provides·an·easy·to·use·but·powerful·templating·system·for·Ruby.21 ERB·provides·an·easy·to·use·but·powerful·templating·system·for·Ruby.
26 Using·ERB,·actual·Ruby·code·can·be·added·to·any·plain·text·document·for·the22 Using·ERB,·actual·Ruby·code·can·be·added·to·any·plain·text·document·for·the
27 purposes·of·generating·document·information·details·and/or·flow·control.23 purposes·of·generating·document·information·details·and/or·flow·control.
28 .Pp 
29 .Nm 
 24 \fBerb\fP
30 is·a·part·of25 is·a·part·of
31 .Nm·Ruby·. 
32 .Pp26 \fBRuby\fP.
  
33 .Sh·OPTIONS27 .SH·OPTIONS
34 .Bl·-tag·-width·"1234567890123"·-compact 
35 .Pp 
36 .It·Fl·-version 
 28 .TP
 29 \fB\--version\fP
37 Prints·the·version·of30 Prints·the·version·of
38 .Nm·. 
39 .Pp 
40 .It·Fl·E·Ar·external·Ns·Op·:·Ns·Ar·internal 
41 .It·Fl·-encoding·Ar·external·Ns·Op·:·Ns·Ar·internal31 \fB.\fP
  
 32 .TP
 33 \fB\-E\fP·\fIexternal\fP[:\fIinternal\fP]
 34 .TP
 35 \fB\--encoding\fP·\fIexternal\fP[:\fIinternal\fP]
42 Specifies·the·default·value(s)·for·external·encodings·and·internal·encoding.·Values·should·be·separated·with·colon·(:).36 Specifies·the·default·value(s)·for·external·encodings·and·internal·encoding.·Values·should·be·separated·with·colon·(:).
43 .Pp 
44 You·can·omit·the·one·for·internal·encodings,·then·the·value37 You·can·omit·the·one·for·internal·encodings,·then·the·value
45 .Pf·(·Li·"Encoding.default_internal"·)·will·be·nil.38 ("Encoding.default_internal")·will·be·nil.
46 .Pp 
47 .It·Fl·P 
 39 .TP
 40 \fB\-P\fP
48 Disables·ruby·code·evaluation·for·lines·beginning·with41 Disables·ruby·code·evaluation·for·lines·beginning·with
49 .Li·"%"·. 
50 .Pp 
51 .It·Fl·S·Ar·level42 "%".
  
 43 .TP
 44 \fB\-S\fP·\fIlevel\fP
52 Specifies·the·safe·level·in·which·eRuby·script·will·run.45 Specifies·the·safe·level·in·which·eRuby·script·will·run.
53 .Pp 
54 .It·Fl·T·Ar·mode 
 46 .TP
 47 \fB\-T\fP·\fImode\fP
55 Specifies·trim·mode·(default·0).48 Specifies·trim·mode·(default·0).
56 .Ar·mode49 \fImode\fP
57 can·be·one·of50 can·be·one·of
58 .Bl·-hang·-offset·indent 
59 .It·Sy·051 .TP
 52 .B·0
60 EOL·remains·after·the·embedded·ruby·script·is·evaluated.53 EOL·remains·after·the·embedded·ruby·script·is·evaluated.
61 .Pp 
62 .It·Sy·1 
 54 .TP
 55 .B·1
63 EOL·is·removed·if·the·line·ends·with56 EOL·is·removed·if·the·line·ends·with
64 .Li·"%>"·. 
65 .Pp 
66 .It·Sy·257 "%>".
  
 58 .TP
 59 .B·2
67 EOL·is·removed·if·the·line·starts·with60 EOL·is·removed·if·the·line·starts·with
68 .Li·"<%"61 "<%"
69 and·ends·with62 and·ends·with
70 .Li·"%>"·. 
71 .Pp 
72 .It·Sy·-63 "%>".
  
 64 .TP
 65 .B·-
73 EOL·is·removed·if·the·line·ends·with66 EOL·is·removed·if·the·line·ends·with
74 .Li·"-%>"·.67 "-%>".
75 And·leading·whitespaces·are·removed·if·the·erb·directive·starts·with68 And·leading·whitespaces·are·removed·if·the·erb·directive·starts·with
76 .Li·"<%-"·. 
77 .Pp 
78 .El 
79 .It·Fl·r69 "<%-".
  
 70 .TP
 71 \fB\-r\fP
80 Load·a·library72 Load·a·library
81 .Pp 
82 .It·Fl·U 
 73 .TP
 74 \fB\-U\fP
83 can·be·one·of75 can·be·one·of
84 Sets·the·default·value·for·internal·encodings76 Sets·the·default·value·for·internal·encodings
85 .Pf·(·Li·"Encoding.default_internal"·)·to·UTF-8.77 ("Encoding.default_internal")·to·UTF-8.
86 .Pp 
... Open expanded diff ...
7.37 KB
./usr/share/man/man1/irb.1
    
Offset 1, 229 lines modifiedOffset 1, 290 lines modified
1 .\"Ruby·is·copyrighted·by·Yukihiro·Matsumoto·<matz@netlab.jp>. 
2 .Dd·August·11,·2019 
3 .Dt·IRB·\&1·"Ruby·Programmer's·Reference·Guide"1 .TH·IRB·\&1·"Ruby·Programmer's·Reference·Guide"·"August·11,·2019"·"UNIX"
4 .Os·UNIX 
5 .Sh·NAME2 .SH·NAME
6 .Nm·irb3 \fBirb\fP
7 .Nd·Interactive·Ruby·Shell4 \-·Interactive·Ruby·Shell
8 .Sh·SYNOPSIS5 .SH·SYNOPSIS
9 .Nm 
10 .Op·Fl·-version 
11 .Op·Fl·dfUw 
12 .Op·Fl·I·Ar·directory 
13 .Op·Fl·r·Ar·library 
14 .Op·Fl·E·Ar·external·Ns·Op·:·Ns·Ar·internal 
15 .Op·Fl·W·Ns·Op·Ar·level 
16 .Op·Fl·-·Ns·Oo·no·Oc·Ns·inspect 
17 .Op·Fl·-·Ns·Oo·no·Oc·Ns·multiline 
18 .Op·Fl·-·Ns·Oo·no·Oc·Ns·singleline 
19 .Op·Fl·-·Ns·Oo·no·Oc·Ns·echo 
20 .Op·Fl·-·Ns·Oo·no·Oc·Ns·colorize 
21 .Op·Fl·-·Ns·Oo·no·Oc·Ns·autocomplete 
22 .Op·Fl·-·Ns·Oo·no·Oc·Ns·verbose 
23 .Op·Fl·-prompt·Ar·mode 
24 .Op·Fl·-prompt-mode·Ar·mode 
25 .Op·Fl·-inf-ruby-mode 
26 .Op·Fl·-simple-prompt 
27 .Op·Fl·-noprompt 
28 .Op·Fl·-tracer 
29 .Op·Fl·-back-trace-limit·Ar·n 
30 .Op·Fl·-6 .br
 7 \fBirb\fP
 8 [\fB\--version\fP]
 9 [\fB\-dfUw\fP]
 10 [\fB\-I\fP·\fIdirectory\fP]
 11 [\fB\-r\fP·\fIlibrary\fP]
 12 [\fB\-E\fP·\fIexternal\fP[:\fIinternal\fP]]
 13 [\fB\-W\fP[\fIlevel\fP]]
 14 [\fB\--\fP[no]inspect]
 15 [\fB\--\fP[no]multiline]
 16 [\fB\--\fP[no]singleline]
 17 [\fB\--\fP[no]echo]
 18 [\fB\--\fP[no]colorize]
 19 [\fB\--\fP[no]autocomplete]
 20 [\fB\--\fP[no]verbose]
 21 [\fB\--prompt\fP·\fImode\fP]
 22 [\fB\--prompt-mode\fP·\fImode\fP]
 23 [\fB\--inf-ruby-mode\fP]
 24 [\fB\--simple-prompt\fP]
 25 [\fB\--noprompt\fP]
 26 [\fB\--tracer\fP]
 27 [\fB\--back-trace-limit\fP·\fIn\fP]
 28 [\fB\--\fP]
31 .Op·program_file29 [program_file]
32 .Op·argument·...30 [argument·...]
33 .Pp 
34 .Sh·DESCRIPTION31 .SH·DESCRIPTION
35 .Nm32 \fBirb\fP
36 is·the·REPL(read-eval-print·loop)·environment·for·Ruby·programs.33 is·the·REPL(read-eval-print·loop)·environment·for·Ruby·programs.
37 .Pp 
38 .Sh·OPTIONS34 .SH·OPTIONS
39 .Bl·-tag·-width·"1234567890123"·-compact 
40 .Pp 
41 .It·Fl·-version 
 35 .TP
 36 \fB\--version\fP
42 Prints·the·version·of37 Prints·the·version·of
43 .Nm·. 
44 .Pp 
45 .It·Fl·E·Ar·external·Ns·Op·:·Ns·Ar·internal 
46 .It·Fl·-encoding·Ar·external·Ns·Op·:·Ns·Ar·internal38 \fB.\fP
  
 39 .TP
 40 \fB\-E\fP·\fIexternal\fP[:\fIinternal\fP]
 41 .TP
 42 \fB\--encoding\fP·\fIexternal\fP[:\fIinternal\fP]
47 Same·as·`ruby·-E'·.43 Same·as·`ruby·-E'·.
48 Specifies·the·default·value(s)·for·external·encodings·and·internal·encoding.·Values·should·be·separated·with·colon·(:).44 Specifies·the·default·value(s)·for·external·encodings·and·internal·encoding.·Values·should·be·separated·with·colon·(:).
49 .Pp 
50 You·can·omit·the·one·for·internal·encodings,·then·the·value45 You·can·omit·the·one·for·internal·encodings,·then·the·value
51 .Pf·(·Li·"Encoding.default_internal"·)·will·be·nil.46 ("Encoding.default_internal")·will·be·nil.
52 .Pp 
53 .It·Fl·I·Ar·path 
 47 .TP
 48 \fB\-I\fP·\fIpath\fP
54 Same·as·`ruby·-I'·.49 Same·as·`ruby·-I'·.
55 Specifies50 Specifies
56 .Li·$LOAD_PATH51 $LOAD_PATH
57 directory52 directory
58 .Pp 
59 .It·Fl·U 
 53 .TP
 54 \fB\-U\fP
60 Same·as·`ruby·-U'·.55 Same·as·`ruby·-U'·.
61 Sets·the·default·value·for·internal·encodings56 Sets·the·default·value·for·internal·encodings
62 .Pf·(·Li·"Encoding.default_internal"·)·to·UTF-8.57 ("Encoding.default_internal")·to·UTF-8.
63 .Pp 
64 .It·Fl·d 
 58 .TP
 59 \fB\-d\fP
65 Same·as·`ruby·-d'·.60 Same·as·`ruby·-d'·.
66 Sets61 Sets
67 .Li·$DEBUG62 $DEBUG
68 to·true.63 to·true.
69 .Pp 
70 .It·Fl·f 
 64 .TP
 65 \fB\-f\fP
71 Suppresses·read·of66 Suppresses·read·of
72 .Pa·~/.irbrc·. 
73 .Pp 
74 .It·Fl·w67 \fI~/.irbrc\fP.
  
 68 .TP
 69 \fB\-w\fP
75 Same·as·`ruby·-w'·.70 Same·as·`ruby·-w'·.
76 .Pp 
77 .Pp 
78 .It·Fl·W 
  
 71 .TP
 72 \fB\-W\fP
79 Same·as·`ruby·-W'·.73 Same·as·`ruby·-W'·.
80 .Pp 
81 .It·Fl·h 
82 .It·Fl·-help 
 74 .TP
 75 \fB\-h\fP
... Open expanded diff ...
7.88 KB
./usr/share/man/man1/ri.1
    
Offset 1, 247 lines modifiedOffset 1, 270 lines modified
1 .\"Ruby·is·copyrighted·by·Yukihiro·Matsumoto·<matz@netlab.jp>. 
2 .Dd·April·20,·2017 
3 .Dt·RI·\&1·"Ruby·Programmer's·Reference·Guide"1 .TH·RI·\&1·"Ruby·Programmer's·Reference·Guide"·"April·20,·2017"·"UNIX"
4 .Os·UNIX 
5 .Sh·NAME2 .SH·NAME
6 .Nm·ri3 \fBri\fP
7 .Nd·Ruby·API·reference·front·end4 \-·Ruby·API·reference·front·end
8 .Sh·SYNOPSIS5 .SH·SYNOPSIS
9 .Nm 
10 .Op·Fl·ahilTv 
11 .Op·Fl·d·Ar·DIRNAME 
12 .Op·Fl·f·Ar·FORMAT 
13 .Op·Fl·w·Ar·WIDTH 
14 .Op·Fl·-·Ns·Oo·Cm·no-·Oc·Ns·Cm·pager 
15 .Op·Fl·-server·Ns·Oo·=·Ns·Ar·PORT·Oc 
16 .Op·Fl·-·Ns·Oo·Cm·no-·Oc·Ns·Cm·list-doc-dirs 
17 .Op·Fl·-no-standard-docs 
18 .Op·Fl·-·Ns·Oo·Cm·no-·Oc·Ns·Bro·Cm·system·Ns·|·Ns·Cm·site·Ns·|·Ns·Cm·gems·Ns·|·Ns·Cm·home·Brc 
19 .Op·Fl·-·Ns·Oo·Cm·no-·Oc·Ns·Cm·profile 
20 .Op·Fl·-dump·Ns·=·Ns·Ar·CACHE 
21 .Op·Ar·name·...6 .br
 7 \fBri\fP
 8 [\fB\-ahilTv\fP]
 9 [\fB\-d\fP·\fIDIRNAME\fP]
 10 [\fB\-f\fP·\fIFORMAT\fP]
 11 [\fB\-w\fP·\fIWIDTH\fP]
 12 [\fB\--\fP[\fBno-\fP]\fBpager\fP]
 13 [\fB\--server\fP[=\fIPORT\fP]]
 14 [\fB\--\fP[\fBno-\fP]\fBlist-doc-dirs\fP]
 15 [\fB\--no-standard-docs\fP]
 16 [\fB\--\fP[\fBno-\fP]{\fBsystem\fP|\fBsite\fP|\fBgems\fP|\fBhome\fP}]
 17 [\fB\--\fP[\fBno-\fP]\fBprofile\fP]
 18 [\fB\--dump\fP=\fICACHE\fP]
 19 [\fIname\fP·...]
22 .Sh·DESCRIPTION20 .SH·DESCRIPTION
23 .Nm21 \fBri\fP
24 is·a·command-line·front·end·for·the·Ruby·API·reference.22 is·a·command-line·front·end·for·the·Ruby·API·reference.
25 You·can·search·and·read·the·API·reference·for·classes·and·methods·with23 You·can·search·and·read·the·API·reference·for·classes·and·methods·with
26 .Nm·. 
27 .Pp 
28 .Nm24 \fB.\fP
  
 25 \fBri\fP
29 is·a·part·of·Ruby.26 is·a·part·of·Ruby.
30 .Pp 
31 .Ar·name 
 27 \fIname\fP
32 can·be:28 can·be:
33 .Bl·-diag·-offset·indent 
34 .It·Class·|·Module·|·Module::Class29 It·Class·|·Module·|·Module::Class
35 .Pp 
36 .It·Class::method·|·Class#method·|·Class.method·|·method30 It·Class::method·|·Class#method·|·Class.method·|·method
37 .Pp 
38 .It·gem_name:·|·gem_name:README·|·gem_name:History31 It·gem_name:·|·gem_name:README·|·gem_name:History
  
39 .El 
40 .Pp 
41 All·class·names·may·be·abbreviated·to·their·minimum·unambiguous·form.32 All·class·names·may·be·abbreviated·to·their·minimum·unambiguous·form.
42 If·a·name·is·ambiguous,·all·valid·options·will·be·listed.33 If·a·name·is·ambiguous,·all·valid·options·will·be·listed.
43 .Pp 
44 A34 A
45 .Ql·\&.35 `\&.'
46 matches·either·class·or·instance·methods,·while·#method36 matches·either·class·or·instance·methods,·while·#method
47 matches·only·instance·and·::method·matches·only·class·methods.37 matches·only·instance·and·::method·matches·only·class·methods.
48 .Pp 
49 README·and·other·files·may·be·displayed·by·prefixing·them·with·the·gem·name38 README·and·other·files·may·be·displayed·by·prefixing·them·with·the·gem·name
50 they're·contained·in.··If·the·gem·name·is·followed·by·a39 they're·contained·in.··If·the·gem·name·is·followed·by·a
51 .Ql·\&:40 `\&:'
52 all·files·in·the·gem·will·be·shown.41 all·files·in·the·gem·will·be·shown.
53 The·file·name·extension·may·be·omitted·where·it·is·unambiguous.42 The·file·name·extension·may·be·omitted·where·it·is·unambiguous.
54 .Pp 
55 For·example:43 For·example:
56 .Bd·-literal·-offset·indent 
57 ri·Fil44 ri·Fil
 45 .br
58 ri·File46 ri·File
 47 .br
59 ri·File.new48 ri·File.new
 49 .br
60 ri·zip50 ri·zip
 51 .br
61 ri·rdoc:README52 ri·rdoc:README
62 .Ed 
63 .Pp53 .br
  
64 Note·that·shell·quoting·or·escaping·may·be·required·for·method·names54 Note·that·shell·quoting·or·escaping·may·be·required·for·method·names
65 containing·punctuation:55 containing·punctuation:
66 .Bd·-literal·-offset·indent 
67 ri·'Array.[]'56 ri·'Array.[]'
 57 .br
68 ri·compact\e!58 ri·compact\e!
69 .Ed 
70 .Pp59 .br
  
71 To·see·the·default·directories60 To·see·the·default·directories
72 .Nm61 \fBri\fP
73 will·search,·run:62 will·search,·run:
74 .Bd·-literal·-offset·indent 
75 ri·--list-doc-dirs63 ri·--list-doc-dirs
76 .Ed 
77 .Pp64 .br
  
78 Specifying·the65 Specifying·the
79 .Fl·-system·,·Fl·-site·,·Fl·-home·,·Fl·-gems·,66 \fB\--system\fP,\fB\--site\fP,\fB\--home\fP,\fB\--gems\fP,
80 or67 or
81 .Fl·-doc-dir68 \fB\--doc-dir\fP
82 options·will·limit69 options·will·limit
83 .Nm70 \fBri\fP
84 to·searching·only·the·specified·directories.71 to·searching·only·the·specified·directories.
85 .Pp 
86 .Nm 
 72 \fBri\fP
87 options·may·be·set·in·the73 options·may·be·set·in·the
88 .Ev·RI74 .IR·RI
89 environment·variable.75 environment·variable.
90 .Pp 
91 The76 The
92 .Nm77 \fBri\fP
93 pager·can·be·set·with·the78 pager·can·be·set·with·the
94 .Ev·RI_PAGER79 .IR·RI_PAGER
95 environment·variable·or·the80 environment·variable·or·the
96 .Ev·PAGER81 .IR·PAGER
97 environment·variable.82 environment·variable.
98 .Pp 
99 .Sh·OPTIONS83 .SH·OPTIONS
100 .Bl·-tag·-width·"1234567890123"·-compact 
101 .Pp 
... Open expanded diff ...
24.9 KB
./usr/share/man/man1/ruby.1
    
Offset 1, 664 lines modifiedOffset 1, 759 lines modified
1 .\"Ruby·is·copyrighted·by·Yukihiro·Matsumoto·<matz@netlab.jp>. 
2 .Dd·April·14,·2018 
3 .Dt·RUBY·\&1·"Ruby·Programmer's·Reference·Guide"1 .TH·RUBY·\&1·"Ruby·Programmer's·Reference·Guide"·"April·14,·2018"·"UNIX"
4 .Os·UNIX 
5 .Sh·NAME2 .SH·NAME
6 .Nm·ruby3 \fBruby\fP
7 .Nd·Interpreted·object-oriented·scripting·language4 \-·Interpreted·object-oriented·scripting·language
8 .Sh·SYNOPSIS5 .SH·SYNOPSIS
9 .Nm 
10 .Op·Fl·-copyright 
11 .Op·Fl·-version 
12 .Op·Fl·SUacdlnpswvy 
13 .Op·Fl·0·Ns·Op·Ar·octal 
14 .Op·Fl·C·Ar·directory 
15 .Op·Fl·E·Ar·external·Ns·Op·:·Ns·Ar·internal 
16 .Op·Fl·F·Ns·Op·Ar·pattern 
17 .Op·Fl·I·Ar·directory 
18 .Op·Fl·K·Ns·Op·Ar·c 
19 .Op·Fl·T·Ns·Op·Ar·level 
20 .Op·Fl·W·Ns·Op·Ar·level 
21 .Op·Fl·e·Ar·command 
22 .Op·Fl·i·Ns·Op·Ar·extension 
23 .Op·Fl·r·Ar·library 
24 .Op·Fl·x·Ns·Op·Ar·directory 
25 .Op·Fl·-·Ns·Bro·Cm·enable·Ns·|·Ns·Cm·disable·Brc·Ns·-·Ns·Ar·FEATURE 
26 .Op·Fl·-dump·Ns·=·Ns·Ar·target 
27 .Op·Fl·-verbose 
28 .Op·Fl·- 
29 .Op·Ar·program_file 
30 .Op·Ar·argument·...6 .br
 7 \fBruby\fP
 8 [\fB\--copyright\fP]
 9 [\fB\--version\fP]
 10 [\fB\-SUacdlnpswvy\fP]
 11 [\fB\-0\fP[\fIoctal\fP]]
 12 [\fB\-C\fP·\fIdirectory\fP]
 13 [\fB\-E\fP·\fIexternal\fP[:\fIinternal\fP]]
 14 [\fB\-F\fP[\fIpattern\fP]]
 15 [\fB\-I\fP·\fIdirectory\fP]
 16 [\fB\-K\fP[\fIc\fP]]
 17 [\fB\-T\fP[\fIlevel\fP]]
 18 [\fB\-W\fP[\fIlevel\fP]]
 19 [\fB\-e\fP·\fIcommand\fP]
 20 [\fB\-i\fP[\fIextension\fP]]
 21 [\fB\-r\fP·\fIlibrary\fP]
 22 [\fB\-x\fP[\fIdirectory\fP]]
 23 [\fB\--\fP{\fBenable\fP|\fBdisable\fP}-\fIFEATURE\fP]
 24 [\fB\--dump\fP=\fItarget\fP]
 25 [\fB\--verbose\fP]
 26 [\fB\--\fP]
 27 [\fIprogram_file\fP]
 28 [\fIargument\fP·...]
31 .Sh·DESCRIPTION29 .SH·DESCRIPTION
32 Ruby·is·an·interpreted·scripting·language·for·quick·and·easy30 Ruby·is·an·interpreted·scripting·language·for·quick·and·easy
33 object-oriented·programming.··It·has·many·features·to·process·text31 object-oriented·programming.··It·has·many·features·to·process·text
34 files·and·to·do·system·management·tasks·(like·in·Perl).··It·is·simple,32 files·and·to·do·system·management·tasks·(like·in·Perl).··It·is·simple,
35 straight-forward,·and·extensible.33 straight-forward,·and·extensible.
36 .Pp 
37 If·you·want·a·language·for·easy·object-oriented·programming,·or·you34 If·you·want·a·language·for·easy·object-oriented·programming,·or·you
38 don't·like·the·Perl·ugliness,·or·you·do·like·the·concept·of·LISP,·but35 don't·like·the·Perl·ugliness,·or·you·do·like·the·concept·of·LISP,·but
39 don't·like·too·many·parentheses,·Ruby·might·be·your·language·of36 don't·like·too·many·parentheses,·Ruby·might·be·your·language·of
40 choice.37 choice.
41 .Sh·FEATURES38 .SH·FEATURES
42 Ruby's·features·are·as·follows:39 Ruby's·features·are·as·follows:
43 .Bl·-tag·-width·6n40 .TP
44 .It·Sy·"Interpretive"41 .B·"Interpretive"
45 Ruby·is·an·interpreted·language,·so·you·don't·have·to·recompile42 Ruby·is·an·interpreted·language,·so·you·don't·have·to·recompile
46 programs·written·in·Ruby·to·execute·them.43 programs·written·in·Ruby·to·execute·them.
47 .Pp 
 44 .TP
48 .It·Sy·"Variables·have·no·type·(dynamic·typing)"45 .B·"Variables·have·no·type·(dynamic·typing)"
49 Variables·in·Ruby·can·contain·data·of·any·type.··You·don't·have·to46 Variables·in·Ruby·can·contain·data·of·any·type.··You·don't·have·to
50 worry·about·variable·typing.··Consequently,·it·has·a·weaker·compile47 worry·about·variable·typing.··Consequently,·it·has·a·weaker·compile
51 time·check.48 time·check.
52 .Pp 
 49 .TP
53 .It·Sy·"No·declaration·needed"50 .B·"No·declaration·needed"
54 You·can·use·variables·in·your·Ruby·programs·without·any·declarations.51 You·can·use·variables·in·your·Ruby·programs·without·any·declarations.
55 Variable·names·denote·their·scope·-·global,·class,·instance,·or·local.52 Variable·names·denote·their·scope·-·global,·class,·instance,·or·local.
56 .Pp 
 53 .TP
57 .It·Sy·"Simple·syntax"54 .B·"Simple·syntax"
58 Ruby·has·a·simple·syntax·influenced·slightly·from·Eiffel.55 Ruby·has·a·simple·syntax·influenced·slightly·from·Eiffel.
59 .Pp 
 56 .TP
60 .It·Sy·"No·user-level·memory·management"57 .B·"No·user-level·memory·management"
61 Ruby·has·automatic·memory·management.··Objects·no·longer·referenced58 Ruby·has·automatic·memory·management.··Objects·no·longer·referenced
62 from·anywhere·are·automatically·collected·by·the·garbage·collector59 from·anywhere·are·automatically·collected·by·the·garbage·collector
63 built·into·the·interpreter.60 built·into·the·interpreter.
64 .Pp 
 61 .TP
65 .It·Sy·"Everything·is·an·object"62 .B·"Everything·is·an·object"
66 Ruby·is·a·purely·object-oriented·language,·and·was·so·since·its63 Ruby·is·a·purely·object-oriented·language,·and·was·so·since·its
67 creation.··Even·such·basic·data·as·integers·are·seen·as·objects.64 creation.··Even·such·basic·data·as·integers·are·seen·as·objects.
68 .Pp 
 65 .TP
69 .It·Sy·"Class,·inheritance,·and·methods"66 .B·"Class,·inheritance,·and·methods"
70 Being·an·object-oriented·language,·Ruby·naturally·has·basic67 Being·an·object-oriented·language,·Ruby·naturally·has·basic
71 features·like·classes,·inheritance,·and·methods.68 features·like·classes,·inheritance,·and·methods.
72 .Pp 
 69 .TP
73 .It·Sy·"Singleton·methods"70 .B·"Singleton·methods"
74 Ruby·has·the·ability·to·define·methods·for·certain·objects.··For71 Ruby·has·the·ability·to·define·methods·for·certain·objects.··For
75 example,·you·can·define·a·press-button·action·for·certain·widget·by72 example,·you·can·define·a·press-button·action·for·certain·widget·by
76 defining·a·singleton·method·for·the·button.··Or,·you·can·make·up·your73 defining·a·singleton·method·for·the·button.··Or,·you·can·make·up·your
77 own·prototype·based·object·system·using·singleton·methods,·if·you·want74 own·prototype·based·object·system·using·singleton·methods,·if·you·want
78 to.75 to.
79 .Pp 
 76 .TP
80 .It·Sy·"Mix-in·by·modules"77 .B·"Mix-in·by·modules"
81 Ruby·intentionally·does·not·have·the·multiple·inheritance·as·it·is·a78 Ruby·intentionally·does·not·have·the·multiple·inheritance·as·it·is·a
82 source·of·confusion.··Instead,·Ruby·has·the·ability·to·share79 source·of·confusion.··Instead,·Ruby·has·the·ability·to·share
83 implementations·across·the·inheritance·tree.··This·is·often·called·a80 implementations·across·the·inheritance·tree.··This·is·often·called·a
84 .Sq·Mix-in·. 
85 .Pp81 `Mix-in'.
  
 82 .TP
86 .It·Sy·"Iterators"83 .B·"Iterators"
87 Ruby·has·iterators·for·loop·abstraction.84 Ruby·has·iterators·for·loop·abstraction.
88 .Pp 
 85 .TP
89 .It·Sy·"Closures"86 .B·"Closures"
90 In·Ruby,·you·can·objectify·the·procedure.87 In·Ruby,·you·can·objectify·the·procedure.
91 .Pp 
 88 .TP
92 .It·Sy·"Text·processing·and·regular·expressions"89 .B·"Text·processing·and·regular·expressions"
93 Ruby·has·a·bunch·of·text·processing·features·like·in·Perl.90 Ruby·has·a·bunch·of·text·processing·features·like·in·Perl.
... Open expanded diff ...
975 B
reproducibleA/tmp/deploy/deb/core2-64/ruby_3.1.3-r0_amd64.deb vs.
reproducibleB/tmp/deploy/deb/core2-64/ruby_3.1.3-r0_amd64.deb
853 B
data.tar.xz
831 B
data.tar
815 B
./usr/lib/ruby/3.1.0/x86_64-linux-gnu/rbconfig.rb
    
Offset 31, 15 lines modifiedOffset 31, 15 lines modified
31 ··CONFIG["RUBY_SO_NAME"]·=·"$(RUBY_BASE_NAME)"31 ··CONFIG["RUBY_SO_NAME"]·=·"$(RUBY_BASE_NAME)"
32 ··CONFIG["exec"]·=·"exec"32 ··CONFIG["exec"]·=·"exec"
33 ··CONFIG["ruby_pc"]·=·"ruby-3.1.pc"33 ··CONFIG["ruby_pc"]·=·"ruby-3.1.pc"
34 ··CONFIG["CC_WRAPPER"]·=·""34 ··CONFIG["CC_WRAPPER"]·=·""
35 ··CONFIG["PACKAGE"]·=·"ruby"35 ··CONFIG["PACKAGE"]·=·"ruby"
36 ··CONFIG["BUILTIN_TRANSSRCS"]·=·"·enc/trans/newline.c"36 ··CONFIG["BUILTIN_TRANSSRCS"]·=·"·enc/trans/newline.c"
37 ··CONFIG["MKMF_VERBOSE"]·=·"0"37 ··CONFIG["MKMF_VERBOSE"]·=·"0"
38 ··CONFIG["MANTYPE"]·=·"doc"38 ··CONFIG["MANTYPE"]·=·"man"
39 ··CONFIG["vendorarchhdrdir"]·=·"$(vendorhdrdir)/$(sitearch)"39 ··CONFIG["vendorarchhdrdir"]·=·"$(vendorhdrdir)/$(sitearch)"
40 ··CONFIG["sitearchhdrdir"]·=·"$(sitehdrdir)/$(sitearch)"40 ··CONFIG["sitearchhdrdir"]·=·"$(sitehdrdir)/$(sitearch)"
41 ··CONFIG["rubyarchhdrdir"]·=·"$(rubyhdrdir)/$(arch)"41 ··CONFIG["rubyarchhdrdir"]·=·"$(rubyhdrdir)/$(arch)"
42 ··CONFIG["vendorhdrdir"]·=·"$(rubyhdrdir)/vendor_ruby"42 ··CONFIG["vendorhdrdir"]·=·"$(rubyhdrdir)/vendor_ruby"
43 ··CONFIG["sitehdrdir"]·=·"$(rubyhdrdir)/site_ruby"43 ··CONFIG["sitehdrdir"]·=·"$(rubyhdrdir)/site_ruby"
44 ··CONFIG["rubyhdrdir"]·=·"$(includedir)/$(RUBY_VERSION_NAME)"44 ··CONFIG["rubyhdrdir"]·=·"$(includedir)/$(RUBY_VERSION_NAME)"
45 ··CONFIG["RUBY_SEARCH_PATH"]·=·""45 ··CONFIG["RUBY_SEARCH_PATH"]·=·""
144 KB
reproducibleA/tmp/deploy/ipk vs.
reproducibleB/tmp/deploy/ipk
144 KB
reproducibleA/tmp/deploy/ipk/core2-64 vs.
reproducibleB/tmp/deploy/ipk/core2-64
96.1 KB
reproducibleA/tmp/deploy/ipk/core2-64/libedit-doc_20210910-3.1-r0_core2-64.ipk vs.
reproducibleB/tmp/deploy/ipk/core2-64/libedit-doc_20210910-3.1-r0_core2-64.ipk
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 ?rw-r--r--···0········0········0········4·1970-01-01·00:00:00.000000·debian-binary1 ?rw-r--r--···0········0········0········4·1970-01-01·00:00:00.000000·debian-binary
2 ?rw-r--r--···0········0········0······555·1970-01-01·00:00:00.000000·control.tar.gz2 ?rw-r--r--···0········0········0······555·1970-01-01·00:00:00.000000·control.tar.gz
3 ?rw-r--r--···0········0········0····15960·1970-01-01·00:00:00.000000·data.tar.xz3 ?rw-r--r--···0········0········0····14980·1970-01-01·00:00:00.000000·data.tar.xz
95.6 KB
data.tar.xz
95.6 KB
data.tar
3.02 KB
file list
    
Offset 1, 12 lines modifiedOffset 1, 12 lines modified
1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/
2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/
3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/
4 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/4 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/
5 -rw-r--r--···0·root·········(0)·root·········(0)····24116·2021-09-10·16:57:16.000000·./usr/share/man/man3/editline.35 -rw-r--r--···0·root·········(0)·root·········(0)····23828·2021-09-10·16:57:16.000000·./usr/share/man/man3/editline.3
6 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_deletestr.3·->·editline.36 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_deletestr.3·->·editline.3
7 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_end.3·->·editline.37 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_end.3·->·editline.3
8 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_get.3·->·editline.38 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_get.3·->·editline.3
9 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_getc.3·->·editline.39 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_getc.3·->·editline.3
10 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_gets.3·->·editline.310 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_gets.3·->·editline.3
11 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_init.3·->·editline.311 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_init.3·->·editline.3
12 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_init_fd.3·->·editline.312 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_init_fd.3·->·editline.3
Offset 40, 10 lines modifiedOffset 40, 10 lines modified
40 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_str.3·->·editline.340 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_str.3·->·editline.3
41 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_wend.3·->·editline.341 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_wend.3·->·editline.3
42 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_winit.3·->·editline.342 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_winit.3·->·editline.3
43 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_wline.3·->·editline.343 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_wline.3·->·editline.3
44 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_wreset.3·->·editline.344 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_wreset.3·->·editline.3
45 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_wstr.3·->·editline.345 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_wstr.3·->·editline.3
46 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man5/46 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man5/
47 -rw-r--r--···0·root·········(0)·root·········(0)·····7064·2021-09-10·16:57:16.000000·./usr/share/man/man5/editrc.547 -rw-r--r--···0·root·········(0)·root·········(0)·····5472·2021-09-10·16:57:16.000000·./usr/share/man/man5/editrc.5
48 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man7/48 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-10·16:57:16.000000·./usr/share/man/man7/
49 -rw-r--r--···0·root·········(0)·root·········(0)····33733·2021-09-10·16:57:16.000000·./usr/share/man/man7/editline.749 -rw-r--r--···0·root·········(0)·root·········(0)····33148·2021-09-10·16:57:16.000000·./usr/share/man/man7/editline.7
36.1 KB
./usr/share/man/man3/editline.3
    
Offset 1, 1020 lines modifiedOffset 1, 1172 lines modified
 1 .TH·EDITLINE·3·"August·15,·2021"·""
1 .\"»    $NetBSD:·editline.3,v·1.101·2021/08/15·10:12:54·wiz·Exp·$ 
2 .\" 
3 .\"·Copyright·(c)·1997-2014·The·NetBSD·Foundation,·Inc. 
4 .\"·All·rights·reserved. 
5 .\" 
6 .\"·This·file·was·contributed·to·The·NetBSD·Foundation·by·Luke·Mewburn. 
7 .\" 
8 .\"·Redistribution·and·use·in·source·and·binary·forms,·with·or·without 
9 .\"·modification,·are·permitted·provided·that·the·following·conditions 
10 .\"·are·met: 
11 .\"·1.·Redistributions·of·source·code·must·retain·the·above·copyright 
12 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer. 
13 .\"·2.·Redistributions·in·binary·form·must·reproduce·the·above·copyright 
14 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer·in·the 
15 .\"····documentation·and/or·other·materials·provided·with·the·distribution. 
16 .\" 
17 .\"·THIS·SOFTWARE·IS·PROVIDED·BY·THE·NETBSD·FOUNDATION,·INC.·AND·CONTRIBUTORS 
18 .\"·``AS·IS''·AND·ANY·EXPRESS·OR·IMPLIED·WARRANTIES,·INCLUDING,·BUT·NOT·LIMITED 
19 .\"·TO,·THE·IMPLIED·WARRANTIES·OF·MERCHANTABILITY·AND·FITNESS·FOR·A·PARTICULAR 
20 .\"·PURPOSE·ARE·DISCLAIMED.··IN·NO·EVENT·SHALL·THE·FOUNDATION·OR·CONTRIBUTORS 
21 .\"·BE·LIABLE·FOR·ANY·DIRECT,·INDIRECT,·INCIDENTAL,·SPECIAL,·EXEMPLARY,·OR 
22 .\"·CONSEQUENTIAL·DAMAGES·(INCLUDING,·BUT·NOT·LIMITED·TO,·PROCUREMENT·OF 
23 .\"·SUBSTITUTE·GOODS·OR·SERVICES;·LOSS·OF·USE,·DATA,·OR·PROFITS;·OR·BUSINESS 
24 .\"·INTERRUPTION)·HOWEVER·CAUSED·AND·ON·ANY·THEORY·OF·LIABILITY,·WHETHER·IN 
25 .\"·CONTRACT,·STRICT·LIABILITY,·OR·TORT·(INCLUDING·NEGLIGENCE·OR·OTHERWISE) 
26 .\"·ARISING·IN·ANY·WAY·OUT·OF·THE·USE·OF·THIS·SOFTWARE,·EVEN·IF·ADVISED·OF·THE 
27 .\"·POSSIBILITY·OF·SUCH·DAMAGE. 
28 .\" 
29 .Dd·August·15,·2021 
30 .Dt·EDITLINE·3 
31 .Os 
32 .Sh·NAME2 .SH·NAME
33 .Nm·editline·, 
34 .Nm·el_init·, 
35 .Nm·el_init_fd·, 
36 .Nm·el_end·, 
37 .Nm·el_reset·, 
38 .Nm·el_gets·, 
39 .Nm·el_wgets·, 
40 .Nm·el_getc·, 
41 .Nm·el_wgetc·, 
42 .Nm·el_push·, 
43 .Nm·el_wpush·, 
44 .Nm·el_parse·, 
45 .Nm·el_wparse·, 
46 .Nm·el_set·, 
47 .Nm·el_wset·, 
48 .Nm·el_get·, 
49 .Nm·el_wget·, 
50 .Nm·el_source·, 
51 .Nm·el_resize·, 
52 .Nm·el_cursor·, 
53 .Nm·el_line·, 
54 .Nm·el_wline·, 
55 .Nm·el_insertstr·, 
56 .Nm·el_winsertstr·, 
57 .Nm·el_deletestr·, 
58 .Nm·el_wdeletestr·, 
59 .Nm·history_init·, 
60 .Nm·history_winit·, 
61 .Nm·history_end·, 
62 .Nm·history_wend·, 
63 .Nm·history·, 
64 .Nm·history_w·, 
65 .Nm·tok_init·, 
66 .Nm·tok_winit·, 
67 .Nm·tok_end·, 
68 .Nm·tok_wend·, 
69 .Nm·tok_reset·, 
70 .Nm·tok_wreset·, 
71 .Nm·tok_line·, 
72 .Nm·tok_wline·, 
73 .Nm·tok_str·, 
74 .Nm·tok_wstr3 \fBeditline\fP,
 4 \fBel_init\fP,
 5 \fBel_init_fd\fP,
 6 \fBel_end\fP,
 7 \fBel_reset\fP,
 8 \fBel_gets\fP,
 9 \fBel_wgets\fP,
 10 \fBel_getc\fP,
 11 \fBel_wgetc\fP,
 12 \fBel_push\fP,
 13 \fBel_wpush\fP,
 14 \fBel_parse\fP,
 15 \fBel_wparse\fP,
 16 \fBel_set\fP,
 17 \fBel_wset\fP,
 18 \fBel_get\fP,
 19 \fBel_wget\fP,
 20 \fBel_source\fP,
 21 \fBel_resize\fP,
 22 \fBel_cursor\fP,
 23 \fBel_line\fP,
 24 \fBel_wline\fP,
 25 \fBel_insertstr\fP,
 26 \fBel_winsertstr\fP,
 27 \fBel_deletestr\fP,
 28 \fBel_wdeletestr\fP,
 29 \fBhistory_init\fP,
 30 \fBhistory_winit\fP,
 31 \fBhistory_end\fP,
 32 \fBhistory_wend\fP,
 33 \fBhistory\fP,
 34 \fBhistory_w\fP,
 35 \fBtok_init\fP,
 36 \fBtok_winit\fP,
 37 \fBtok_end\fP,
 38 \fBtok_wend\fP,
 39 \fBtok_reset\fP,
 40 \fBtok_wreset\fP,
 41 \fBtok_line\fP,
 42 \fBtok_wline\fP,
 43 \fBtok_str\fP,
 44 \fBtok_wstr\fP
75 .Nd·line·editor,·history·and·tokenization·functions45 \-·line·editor,·history·and·tokenization·functions
76 .Sh·LIBRARY46 .SH·LIBRARY
77 .Lb·libedit47 Command·Line·Editor·Library·(libedit,·-ledit)
78 .Sh·SYNOPSIS48 .SH·SYNOPSIS
79 .In·histedit.h 
80 .Ft·EditLine·* 
81 .Fn·el_init·"const·char·*prog"·"FILE·*fin"·"FILE·*fout"·"FILE·*ferr" 
82 .Ft·EditLine·* 
83 .Fn·el_init_fd·"const·char·*prog"·"FILE·*fin"·"FILE·*fout"·"FILE·*ferr"·"int·fdin"·"int·fdout"·"int·fderr" 
84 .Ft·void 
85 .Fn·el_end·"EditLine·*e" 
... Open expanded diff ...
9.49 KB
./usr/share/man/man5/editrc.5
    
Offset 1, 325 lines modifiedOffset 1, 314 lines modified
 1 .TH·EDITRC·5·"May·22,·2016"·""
1 .\"»    $NetBSD:·editrc.5,v·1.33·2017/06/27·01:22:58·kre·Exp·$ 
2 .\" 
3 .\"·Copyright·(c)·1997-2000·The·NetBSD·Foundation,·Inc. 
4 .\"·All·rights·reserved. 
5 .\" 
6 .\"·This·file·was·contributed·to·The·NetBSD·Foundation·by·Luke·Mewburn. 
7 .\" 
8 .\"·Redistribution·and·use·in·source·and·binary·forms,·with·or·without 
9 .\"·modification,·are·permitted·provided·that·the·following·conditions 
10 .\"·are·met: 
11 .\"·1.·Redistributions·of·source·code·must·retain·the·above·copyright 
12 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer. 
13 .\"·2.·Redistributions·in·binary·form·must·reproduce·the·above·copyright 
14 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer·in·the 
15 .\"····documentation·and/or·other·materials·provided·with·the·distribution. 
16 .\" 
17 .\"·THIS·SOFTWARE·IS·PROVIDED·BY·THE·NETBSD·FOUNDATION,·INC.·AND·CONTRIBUTORS 
18 .\"·``AS·IS''·AND·ANY·EXPRESS·OR·IMPLIED·WARRANTIES,·INCLUDING,·BUT·NOT·LIMITED 
19 .\"·TO,·THE·IMPLIED·WARRANTIES·OF·MERCHANTABILITY·AND·FITNESS·FOR·A·PARTICULAR 
20 .\"·PURPOSE·ARE·DISCLAIMED.··IN·NO·EVENT·SHALL·THE·FOUNDATION·OR·CONTRIBUTORS 
21 .\"·BE·LIABLE·FOR·ANY·DIRECT,·INDIRECT,·INCIDENTAL,·SPECIAL,·EXEMPLARY,·OR 
22 .\"·CONSEQUENTIAL·DAMAGES·(INCLUDING,·BUT·NOT·LIMITED·TO,·PROCUREMENT·OF 
23 .\"·SUBSTITUTE·GOODS·OR·SERVICES;·LOSS·OF·USE,·DATA,·OR·PROFITS;·OR·BUSINESS 
24 .\"·INTERRUPTION)·HOWEVER·CAUSED·AND·ON·ANY·THEORY·OF·LIABILITY,·WHETHER·IN 
25 .\"·CONTRACT,·STRICT·LIABILITY,·OR·TORT·(INCLUDING·NEGLIGENCE·OR·OTHERWISE) 
26 .\"·ARISING·IN·ANY·WAY·OUT·OF·THE·USE·OF·THIS·SOFTWARE,·EVEN·IF·ADVISED·OF·THE 
27 .\"·POSSIBILITY·OF·SUCH·DAMAGE. 
28 .\" 
29 .Dd·May·22,·2016 
30 .Dt·EDITRC·5 
31 .Os 
32 .Sh·NAME2 .SH·NAME
33 .Nm·editrc3 \fBeditrc\fP
34 .Nd·configuration·file·for·editline·library4 \-·configuration·file·for·editline·library
35 .Sh·SYNOPSIS5 .SH·SYNOPSIS
36 .Nm6 .br
 7 \fBeditrc\fP
37 .Sh·DESCRIPTION8 .SH·DESCRIPTION
38 The9 The
39 .Nm10 \fBeditrc\fP
40 file·defines·various·settings·to·be·used·by·the11 file·defines·various·settings·to·be·used·by·the
41 .Xr·editline·312 \fBeditline\fP(3)
42 library.13 library.
43 .Pp 
44 The·format·of·each·line·is:14 The·format·of·each·line·is:
45 .Pp 
46 .Dl·[prog:]command·[arg·...]15 [prog:]command·[arg·...]
47 .Pp 
48 .Ar·command 
 16 \fIcommand\fP
49 is·one·of·the17 is·one·of·the
50 .Xr·editline·318 \fBeditline\fP(3)
51 builtin·commands.19 builtin·commands.
52 Refer·to20 Refer·to
53 .Sx·BUILTIN·COMMANDS21 .B·BUILTIN·COMMANDS
54 for·more·information.22 for·more·information.
55 .Pp 
56 .Ar·prog 
 23 \fIprog\fP
57 is·the·program·name·string·that·a·program·defines·when·it·calls24 is·the·program·name·string·that·a·program·defines·when·it·calls
58 .Xr·el_init·325 \fBel_init\fP(3)
59 to·set·up26 to·set·up
60 .Xr·editline·3·,27 \fBeditline\fP(3),
61 which·is·usually28 which·is·usually
62 .Va·argv[0]·. 
63 .Ar·command29 \fIargv[0]\fP.
 30 \fIcommand\fP
64 will·be·executed·for·any·program·which·matches31 will·be·executed·for·any·program·which·matches
65 .Ar·prog·. 
66 .Pp 
67 .Ar·prog32 \fIprog\fP.
  
 33 \fIprog\fP
68 may·also·be·a34 may·also·be·a
69 .Xr·regex·335 \fBregex\fP(3)
70 style36 style
71 regular·expression,·in·which·case37 regular·expression,·in·which·case
72 .Ar·command38 \fIcommand\fP
73 will·be·executed·for·any·program·that·matches·the·regular·expression.39 will·be·executed·for·any·program·that·matches·the·regular·expression.
74 .Pp 
75 If40 If
76 .Ar·prog41 \fIprog\fP
77 is·absent,42 is·absent,
78 .Ar·command43 \fIcommand\fP
79 is·executed·for·all·programs.44 is·executed·for·all·programs.
80 .Sh·BUILTIN·COMMANDS45 .SH·BUILTIN·COMMANDS
81 The46 The
82 .Nm·editline47 \fBeditline\fP
83 library·has·some·builtin·commands,·which·affect·the·way48 library·has·some·builtin·commands,·which·affect·the·way
84 that·the·line·editing·and·history·functions·operate.49 that·the·line·editing·and·history·functions·operate.
85 These·are·based·on·similar·named·builtins·present·in·the50 These·are·based·on·similar·named·builtins·present·in·the
86 .Xr·tcsh·151 \fBtcsh\fP(1)
87 shell.52 shell.
88 .Pp 
89 The·following·builtin·commands·are·available:53 The·following·builtin·commands·are·available:
90 .Bl·-tag·-width·4n 
91 .It·Ic·bind·Oo·Fl·aeklrsv·Oc·Op·Ar·key·Op·Ar·command54 .TP
 55 \fBbind·Oo·Fl·aeklrsv·Oc·[\fIkey\fP·[\fIcommand]]\fP\fP
92 Without·options·and·arguments,·list·all·bound·keys·and·macros,·and56 Without·options·and·arguments,·list·all·bound·keys·and·macros,·and
93 the·editor·command·or·input·string·to·which·each·one·is·bound.57 the·editor·command·or·input·string·to·which·each·one·is·bound.
94 If·only58 If·only
95 .Ar·key59 \fIkey\fP
96 is·supplied,·show·the·binding·for·that·key·or·macro.60 is·supplied,·show·the·binding·for·that·key·or·macro.
97 If61 If
98 .Ar·key·command62 \fIkey\fP·command
99 is·supplied,·bind·the·editor63 is·supplied,·bind·the·editor
100 .Ar·command64 \fIcommand\fP
101 to·that·key·or·macro.65 to·that·key·or·macro.
102 .Pp 
103 The·options·are·as·follows:66 The·options·are·as·follows:
104 .Bl·-tag·-width·4n 
105 .It·Fl·a67 .RS
 68 .TP
 69 \fB\-a\fP
106 List·or·change·key·bindings·in·the70 List·or·change·key·bindings·in·the
107 .Xr·vi·171 \fBvi\fP(1)
108 mode·alternate·(command·mode)·key·map.72 mode·alternate·(command·mode)·key·map.
109 .It·Fl·e73 .TP
 74 \fB\-e\fP
110 Bind·all·keys·to·the·standard·GNU·Emacs-like·bindings.75 Bind·all·keys·to·the·standard·GNU·Emacs-like·bindings.
111 .It·Fl·k 
112 .Ar·key76 .TP
 77 \fB\-k\fP
 78 \fIkey\fP
113 is·interpreted·as·a·symbolic·arrow·key·name,·which·may·be·one·of79 is·interpreted·as·a·symbolic·arrow·key·name,·which·may·be·one·of
114 .Sq·up·, 
... Open expanded diff ...
47.0 KB
./usr/share/man/man7/editline.7
    
Offset 1, 935 lines modifiedOffset 1, 1001 lines modified
 1 .TH·EDITLINE·7·"May·7,·2016"·""
1 .\"»    $NetBSD:·editline.7,v·1.5·2016/05/09·21:27:55·christos·Exp·$ 
2 .\"»    $OpenBSD:·editline.7,v·1.1·2016/04/20·01:11:45·schwarze·Exp·$ 
3 .\" 
4 .\"·Copyright·(c)·2016·Ingo·Schwarze·<schwarze@openbsd.org> 
5 .\" 
6 .\"·Permission·to·use,·copy,·modify,·and·distribute·this·software·for·any 
7 .\"·purpose·with·or·without·fee·is·hereby·granted,·provided·that·the·above 
8 .\"·copyright·notice·and·this·permission·notice·appear·in·all·copies. 
9 .\" 
10 .\"·THE·SOFTWARE·IS·PROVIDED·"AS·IS"·AND·THE·AUTHOR·DISCLAIMS·ALL·WARRANTIES 
11 .\"·WITH·REGARD·TO·THIS·SOFTWARE·INCLUDING·ALL·IMPLIED·WARRANTIES·OF 
12 .\"·MERCHANTABILITY·AND·FITNESS.·IN·NO·EVENT·SHALL·THE·AUTHOR·BE·LIABLE·FOR 
13 .\"·ANY·SPECIAL,·DIRECT,·INDIRECT,·OR·CONSEQUENTIAL·DAMAGES·OR·ANY·DAMAGES 
14 .\"·WHATSOEVER·RESULTING·FROM·LOSS·OF·USE,·DATA·OR·PROFITS,·WHETHER·IN·AN 
15 .\"·ACTION·OF·CONTRACT,·NEGLIGENCE·OR·OTHER·TORTIOUS·ACTION,·ARISING·OUT·OF 
16 .\"·OR·IN·CONNECTION·WITH·THE·USE·OR·PERFORMANCE·OF·THIS·SOFTWARE. 
17 .\" 
18 .Dd·May·7,·2016 
19 .Dt·EDITLINE·7 
20 .Os 
21 .Sh·NAME2 .SH·NAME
22 .Nm·editline3 \fBeditline\fP
23 .Nd·line·editing·user·interface4 \-·line·editing·user·interface
24 .Sh·DESCRIPTION5 .SH·DESCRIPTION
25 When·a·program·using·the6 When·a·program·using·the
26 .Xr·editline·37 \fBeditline\fP(3)
27 library·prompts·for·an·input·string·using·the·function8 library·prompts·for·an·input·string·using·the·function
28 .Xr·el_wgets·3·,9 \fBel_wgets\fP(3),
29 it·reads·characters·from·the·terminal.10 it·reads·characters·from·the·terminal.
30 Invalid·input·bytes·that·do·not·form·characters·are·silently11 Invalid·input·bytes·that·do·not·form·characters·are·silently
31 discarded.12 discarded.
32 For·each·character·read,·one·editor·command·is·executed.13 For·each·character·read,·one·editor·command·is·executed.
33 The·mapping·of·input·characters·to·editor·commands·depends·on·the14 The·mapping·of·input·characters·to·editor·commands·depends·on·the
34 editing·mode.15 editing·mode.
35 There·are·three·editing·modes:·vi·insert·mode,·vi·command·mode,16 There·are·three·editing·modes:·vi·insert·mode,·vi·command·mode,
36 and·emacs·mode.17 and·emacs·mode.
37 The·default·is·vi·insert·mode.18 The·default·is·vi·insert·mode.
38 The·program·can·switch·the·default·to·emacs·mode·by·using·the19 The·program·can·switch·the·default·to·emacs·mode·by·using·the
39 .Xr·el_set·320 \fBel_set\fP(3)
40 or21 or
41 .Xr·el_parse·322 \fBel_parse\fP(3)
42 functions,·and·the·user·can·switch·to·emacs·mode·either·in·the23 functions,·and·the·user·can·switch·to·emacs·mode·either·in·the
43 .Xr·editrc·524 \fBeditrc\fP(5)
44 configuration·file·or·interactively·with·the25 configuration·file·or·interactively·with·the
45 .Ic·ed-command26 \fBed-command\fP
46 editor·command,·in·all·three·cases·executing·the27 editor·command,·in·all·three·cases·executing·the
47 .Ic·bind·Fl·e28 \fBbind·Fl·e\fP
48 builtin·command.29 builtin·command.
49 .Pp 
50 If·trying·to·read·from·the·terminal·results·in·end·of·file·or·an30 If·trying·to·read·from·the·terminal·results·in·end·of·file·or·an
51 error,·the·library·signals·end·of·file·to·the·program·and·does·not31 error,·the·library·signals·end·of·file·to·the·program·and·does·not
52 return·a·string.32 return·a·string.
53 .Ss·Input·character·bindings33 .SS·Input·character·bindings
54 All·default·bindings·described·below·can·be·overridden·by·individual34 All·default·bindings·described·below·can·be·overridden·by·individual
55 programs·and·can·be·changed·with·the35 programs·and·can·be·changed·with·the
56 .Xr·editrc·5 
57 .Ic·bind36 \fBeditrc\fP(5)
 37 \fBbind\fP
58 builtin·command.38 builtin·command.
59 .Pp 
60 In·the·following·tables,39 In·the·following·tables,
61 .Sq·Ctrl-40 `Ctrl-'
62 indicates·a·character·with·the·bit·0x40·flipped,·and41 indicates·a·character·with·the·bit·0x40·flipped,·and
63 .Sq·Meta-42 `Meta-'
64 indicates·a·character·with·the·bit·0x80·set.43 indicates·a·character·with·the·bit·0x80·set.
65 In·vi·insert·mode·and·in·emacs·mode,·all·Meta-characters·considered44 In·vi·insert·mode·and·in·emacs·mode,·all·Meta-characters·considered
66 printable·by·the·current45 printable·by·the·current
67 .Xr·locale·146 \fBlocale\fP(1)
68 are·bound·to47 are·bound·to
69 .Ic·ed-insert48 \fBed-insert\fP
70 instead·of·to·the·editor·command·listed·below.49 instead·of·to·the·editor·command·listed·below.
71 Consequently,·in·UTF-8·mode,·most·of·the·Meta-characters·are·not50 Consequently,·in·UTF-8·mode,·most·of·the·Meta-characters·are·not
72 directly·accessible·because·their·code·points·are·occupied·by51 directly·accessible·because·their·code·points·are·occupied·by
73 printable·Unicode·characters,·and·Meta-characters·are·usually·input52 printable·Unicode·characters,·and·Meta-characters·are·usually·input
74 using·the53 using·the
75 .Ic·em-meta-next54 \fBem-meta-next\fP
76 editor·command.55 editor·command.
77 For·example,·to·enter56 For·example,·to·enter
78 .Sq·Meta-B57 `Meta-B'
79 in·order·to·call·the58 in·order·to·call·the
80 .Ic·ed-prev-word59 \fBed-prev-word\fP
81 editor·command·in·emacs·mode,·call60 editor·command·in·emacs·mode,·call
82 .Ic·em-meta-next61 \fBem-meta-next\fP
83 by·pressing·and·releasing·the·escape·key·(or·equivalently,·Ctrl-[),62 by·pressing·and·releasing·the·escape·key·(or·equivalently,·Ctrl-[),
84 then·press·and·release·the63 then·press·and·release·the
85 .Sq·B64 `B'
86 key.65 key.
87 If·you·have·configured·a·Meta-key·on·your·keyboard,·for·example66 If·you·have·configured·a·Meta-key·on·your·keyboard,·for·example
88 with67 with
89 .Ql·setxkbmap·-option·altwin:left_meta_win·,68 `setxkbmap'·-option·altwin:left_meta_win·,
90 the·Ctrl-Meta-characters·are·directly·accessible.69 the·Ctrl-Meta-characters·are·directly·accessible.
91 For·example,·to·enter70 For·example,·to·enter
92 .Sq·Ctrl-Meta-H71 `Ctrl-Meta-H'
93 in·order·to·call·the72 in·order·to·call·the
94 .Ic·ed-delete-prev-word73 \fBed-delete-prev-word\fP
95 editor·command·in·emacs·mode,·hold·down·the·keys74 editor·command·in·emacs·mode,·hold·down·the·keys
96 .Sq·Ctrl·, 
97 .Sq·Meta·,75 `Ctrl',
 76 `Meta',
98 and77 and
99 .Sq·H78 `H'
100 at·the·same·time.79 at·the·same·time.
101 Alternatively,·press·and·release·the·escape·key,·then·press·and80 Alternatively,·press·and·release·the·escape·key,·then·press·and
102 release81 release
103 .Sq·Ctrl-H·. 
104 .Pp82 `Ctrl-H'.
  
105 In·vi·input·mode,·input·characters·are·bound·to·the·following·editor83 In·vi·input·mode,·input·characters·are·bound·to·the·following·editor
106 commands·by·default:84 commands·by·default:
107 .Bl·-column·-offset·indent·"Ctrl-Z,·TSTP"·"ed-search-next-history" 
108 .It·Ctrl-D,·EOF·Ta·Ic·vi-list-or-eof85 It·Ctrl-D,·EOF·Ta·\fBvi-list-or-eof\fP
109 .It·Ctrl-H,·BS·Ta·Ic·vi-delete-prev-char86 It·Ctrl-H,·BS·Ta·\fBvi-delete-prev-char\fP
110 .It·Ctrl-J,·LF·Ta·Ic·ed-newline87 It·Ctrl-J,·LF·Ta·\fBed-newline\fP
111 .It·Ctrl-M,·CR·Ta·Ic·ed-newline88 It·Ctrl-M,·CR·Ta·\fBed-newline\fP
112 .It·Ctrl-Q·Ta·Ic·ed-tty-start-output89 It·Ctrl-Q·Ta·\fBed-tty-start-output\fP
113 .It·Ctrl-S·Ta·Ic·ed-tty-stop-output90 It·Ctrl-S·Ta·\fBed-tty-stop-output\fP
114 .It·Ctrl-U·Ta·Ic·vi-kill-line-prev91 It·Ctrl-U·Ta·\fBvi-kill-line-prev\fP
115 .It·Ctrl-V·Ta·Ic·ed-quoted-insert92 It·Ctrl-V·Ta·\fBed-quoted-insert\fP
116 .It·Ctrl-W·Ta·Ic·ed-delete-prev-word93 It·Ctrl-W·Ta·\fBed-delete-prev-word\fP
117 .It·Ctrl-[,·ESC·Ta·Ic·vi-command-mode94 It·Ctrl-[,·ESC·Ta·\fBvi-command-mode\fP
118 .It·Ctrl-\e,·QUIT·Ta·Ic·ed-tty-sigquit95 It·Ctrl-\e,·QUIT·Ta·\fBed-tty-sigquit\fP
119 .It·Ctrl-?,·DEL·Ta·Ic·vi-delete-prev-char96 It·Ctrl-?,·DEL·Ta·\fBvi-delete-prev-char\fP
  
120 .El 
121 .Pp 
122 All·other·input·characters·except·the·NUL·character·(Ctrl-@)·are97 All·other·input·characters·except·the·NUL·character·(Ctrl-@)·are
... Open expanded diff ...
46.8 KB
reproducibleA/tmp/deploy/ipk/core2-64/ruby-doc_3.1.3-r0_core2-64.ipk vs.
reproducibleB/tmp/deploy/ipk/core2-64/ruby-doc_3.1.3-r0_core2-64.ipk
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 ?rw-r--r--···0········0········0········4·1970-01-01·00:00:00.000000·debian-binary1 ?rw-r--r--···0········0········0········4·1970-01-01·00:00:00.000000·debian-binary
2 ?rw-r--r--···0········0········0······522·1970-01-01·00:00:00.000000·control.tar.gz2 ?rw-r--r--···0········0········0······522·1970-01-01·00:00:00.000000·control.tar.gz
3 ?rw-r--r--···0········0········0·····9732·1970-01-01·00:00:00.000000·data.tar.xz3 ?rw-r--r--···0········0········0·····9596·1970-01-01·00:00:00.000000·data.tar.xz
46.3 KB
data.tar.xz
46.2 KB
data.tar
1.31 KB
file list
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-11-24·10:20:33.000000·./usr/1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-11-24·10:20:33.000000·./usr/
2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-11-24·10:20:33.000000·./usr/share/2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-11-24·10:20:33.000000·./usr/share/
3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-11-24·10:20:33.000000·./usr/share/man/3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-11-24·10:20:33.000000·./usr/share/man/
4 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-11-24·10:20:33.000000·./usr/share/man/man1/4 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-11-24·10:20:33.000000·./usr/share/man/man1/
5 -rw-r--r--···0·root·········(0)·root·········(0)·····3326·2022-11-24·10:20:31.000000·./usr/share/man/man1/erb.15 -rw-r--r--···0·root·········(0)·root·········(0)·····3161·2022-11-24·10:20:33.000000·./usr/share/man/man1/erb.1
6 -rw-r--r--···0·root·········(0)·root·········(0)·····4421·2022-11-24·10:20:31.000000·./usr/share/man/man1/irb.16 -rw-r--r--···0·root·········(0)·root·········(0)·····4434·2022-11-24·10:20:33.000000·./usr/share/man/man1/irb.1
7 -rw-r--r--···0·root·········(0)·root·········(0)·····5347·2022-11-24·10:20:31.000000·./usr/share/man/man1/ri.17 -rw-r--r--···0·root·········(0)·root·········(0)·····4911·2022-11-24·10:20:33.000000·./usr/share/man/man1/ri.1
8 -rw-r--r--···0·root·········(0)·root·········(0)····19084·2022-11-24·10:20:31.000000·./usr/share/man/man1/ruby.18 -rw-r--r--···0·root·········(0)·root·········(0)····18341·2022-11-24·10:20:33.000000·./usr/share/man/man1/ruby.1
4.75 KB
./usr/share/man/man1/erb.1
    
Offset 1, 160 lines modifiedOffset 1, 184 lines modified
 1 .TH·ERB·\&1·"Ruby·Programmer's·Reference·Guide"·"December·16,·2018"·"UNIX"
1 .\"Ruby·is·copyrighted·by·Yukihiro·Matsumoto·<matz@netlab.jp>. 
2 .Dd·December·16,·2018 
3 .Dt·ERB·\&1·"Ruby·Programmer's·Reference·Guide" 
4 .Os·UNIX 
5 .Sh·NAME2 .SH·NAME
6 .Nm·erb3 \fBerb\fP
7 .Nd·Ruby·Templating4 \-·Ruby·Templating
8 .Sh·SYNOPSIS5 .SH·SYNOPSIS
9 .Nm 
10 .Op·Fl·-version 
11 .Op·Fl·UPdnvx 
12 .Op·Fl·E·Ar·ext·Ns·Op·Ns·:·Ns·int 
13 .Op·Fl·S·Ar·level 
14 .Op·Fl·T·Ar·mode 
15 .Op·Fl·r·Ar·library 
16 .Op·Fl·- 
17 .Op·file·... 
18 .Pp6 .br
 7 \fBerb\fP
 8 [\fB\--version\fP]
 9 [\fB\-UPdnvx\fP]
 10 [\fB\-E\fP·\fIext\fP[:int]]
 11 [\fB\-S\fP·\fIlevel\fP]
 12 [\fB\-T\fP·\fImode\fP]
 13 [\fB\-r\fP·\fIlibrary\fP]
 14 [\fB\--\fP]
 15 [file·...]
  
19 .Sh·DESCRIPTION16 .SH·DESCRIPTION
20 .Nm17 \fBerb\fP
21 is·a·command·line·front-end·for18 is·a·command·line·front-end·for
22 .Li·"ERB"19 "ERB"
23 library,·which·is·an·implementation·of·eRuby.20 library,·which·is·an·implementation·of·eRuby.
24 .Pp 
25 ERB·provides·an·easy·to·use·but·powerful·templating·system·for·Ruby.21 ERB·provides·an·easy·to·use·but·powerful·templating·system·for·Ruby.
26 Using·ERB,·actual·Ruby·code·can·be·added·to·any·plain·text·document·for·the22 Using·ERB,·actual·Ruby·code·can·be·added·to·any·plain·text·document·for·the
27 purposes·of·generating·document·information·details·and/or·flow·control.23 purposes·of·generating·document·information·details·and/or·flow·control.
28 .Pp 
29 .Nm 
 24 \fBerb\fP
30 is·a·part·of25 is·a·part·of
31 .Nm·Ruby·. 
32 .Pp26 \fBRuby\fP.
  
33 .Sh·OPTIONS27 .SH·OPTIONS
34 .Bl·-tag·-width·"1234567890123"·-compact 
35 .Pp 
36 .It·Fl·-version 
 28 .TP
 29 \fB\--version\fP
37 Prints·the·version·of30 Prints·the·version·of
38 .Nm·. 
39 .Pp 
40 .It·Fl·E·Ar·external·Ns·Op·:·Ns·Ar·internal 
41 .It·Fl·-encoding·Ar·external·Ns·Op·:·Ns·Ar·internal31 \fB.\fP
  
 32 .TP
 33 \fB\-E\fP·\fIexternal\fP[:\fIinternal\fP]
 34 .TP
 35 \fB\--encoding\fP·\fIexternal\fP[:\fIinternal\fP]
42 Specifies·the·default·value(s)·for·external·encodings·and·internal·encoding.·Values·should·be·separated·with·colon·(:).36 Specifies·the·default·value(s)·for·external·encodings·and·internal·encoding.·Values·should·be·separated·with·colon·(:).
43 .Pp 
44 You·can·omit·the·one·for·internal·encodings,·then·the·value37 You·can·omit·the·one·for·internal·encodings,·then·the·value
45 .Pf·(·Li·"Encoding.default_internal"·)·will·be·nil.38 ("Encoding.default_internal")·will·be·nil.
46 .Pp 
47 .It·Fl·P 
 39 .TP
 40 \fB\-P\fP
48 Disables·ruby·code·evaluation·for·lines·beginning·with41 Disables·ruby·code·evaluation·for·lines·beginning·with
49 .Li·"%"·. 
50 .Pp 
51 .It·Fl·S·Ar·level42 "%".
  
 43 .TP
 44 \fB\-S\fP·\fIlevel\fP
52 Specifies·the·safe·level·in·which·eRuby·script·will·run.45 Specifies·the·safe·level·in·which·eRuby·script·will·run.
53 .Pp 
54 .It·Fl·T·Ar·mode 
 46 .TP
 47 \fB\-T\fP·\fImode\fP
55 Specifies·trim·mode·(default·0).48 Specifies·trim·mode·(default·0).
56 .Ar·mode49 \fImode\fP
57 can·be·one·of50 can·be·one·of
58 .Bl·-hang·-offset·indent 
59 .It·Sy·051 .TP
 52 .B·0
60 EOL·remains·after·the·embedded·ruby·script·is·evaluated.53 EOL·remains·after·the·embedded·ruby·script·is·evaluated.
61 .Pp 
62 .It·Sy·1 
 54 .TP
 55 .B·1
63 EOL·is·removed·if·the·line·ends·with56 EOL·is·removed·if·the·line·ends·with
64 .Li·"%>"·. 
65 .Pp 
66 .It·Sy·257 "%>".
  
 58 .TP
 59 .B·2
67 EOL·is·removed·if·the·line·starts·with60 EOL·is·removed·if·the·line·starts·with
68 .Li·"<%"61 "<%"
69 and·ends·with62 and·ends·with
70 .Li·"%>"·. 
71 .Pp 
72 .It·Sy·-63 "%>".
  
 64 .TP
 65 .B·-
73 EOL·is·removed·if·the·line·ends·with66 EOL·is·removed·if·the·line·ends·with
74 .Li·"-%>"·.67 "-%>".
75 And·leading·whitespaces·are·removed·if·the·erb·directive·starts·with68 And·leading·whitespaces·are·removed·if·the·erb·directive·starts·with
76 .Li·"<%-"·. 
77 .Pp 
78 .El 
79 .It·Fl·r69 "<%-".
  
 70 .TP
 71 \fB\-r\fP
80 Load·a·library72 Load·a·library
81 .Pp 
82 .It·Fl·U 
 73 .TP
 74 \fB\-U\fP
83 can·be·one·of75 can·be·one·of
84 Sets·the·default·value·for·internal·encodings76 Sets·the·default·value·for·internal·encodings
85 .Pf·(·Li·"Encoding.default_internal"·)·to·UTF-8.77 ("Encoding.default_internal")·to·UTF-8.
86 .Pp 
... Open expanded diff ...
7.37 KB
./usr/share/man/man1/irb.1
    
Offset 1, 229 lines modifiedOffset 1, 290 lines modified
1 .\"Ruby·is·copyrighted·by·Yukihiro·Matsumoto·<matz@netlab.jp>. 
2 .Dd·August·11,·2019 
3 .Dt·IRB·\&1·"Ruby·Programmer's·Reference·Guide"1 .TH·IRB·\&1·"Ruby·Programmer's·Reference·Guide"·"August·11,·2019"·"UNIX"
4 .Os·UNIX 
5 .Sh·NAME2 .SH·NAME
6 .Nm·irb3 \fBirb\fP
7 .Nd·Interactive·Ruby·Shell4 \-·Interactive·Ruby·Shell
8 .Sh·SYNOPSIS5 .SH·SYNOPSIS
9 .Nm 
10 .Op·Fl·-version 
11 .Op·Fl·dfUw 
12 .Op·Fl·I·Ar·directory 
13 .Op·Fl·r·Ar·library 
14 .Op·Fl·E·Ar·external·Ns·Op·:·Ns·Ar·internal 
15 .Op·Fl·W·Ns·Op·Ar·level 
16 .Op·Fl·-·Ns·Oo·no·Oc·Ns·inspect 
17 .Op·Fl·-·Ns·Oo·no·Oc·Ns·multiline 
18 .Op·Fl·-·Ns·Oo·no·Oc·Ns·singleline 
19 .Op·Fl·-·Ns·Oo·no·Oc·Ns·echo 
20 .Op·Fl·-·Ns·Oo·no·Oc·Ns·colorize 
21 .Op·Fl·-·Ns·Oo·no·Oc·Ns·autocomplete 
22 .Op·Fl·-·Ns·Oo·no·Oc·Ns·verbose 
23 .Op·Fl·-prompt·Ar·mode 
24 .Op·Fl·-prompt-mode·Ar·mode 
25 .Op·Fl·-inf-ruby-mode 
26 .Op·Fl·-simple-prompt 
27 .Op·Fl·-noprompt 
28 .Op·Fl·-tracer 
29 .Op·Fl·-back-trace-limit·Ar·n 
30 .Op·Fl·-6 .br
 7 \fBirb\fP
 8 [\fB\--version\fP]
 9 [\fB\-dfUw\fP]
 10 [\fB\-I\fP·\fIdirectory\fP]
 11 [\fB\-r\fP·\fIlibrary\fP]
 12 [\fB\-E\fP·\fIexternal\fP[:\fIinternal\fP]]
 13 [\fB\-W\fP[\fIlevel\fP]]
 14 [\fB\--\fP[no]inspect]
 15 [\fB\--\fP[no]multiline]
 16 [\fB\--\fP[no]singleline]
 17 [\fB\--\fP[no]echo]
 18 [\fB\--\fP[no]colorize]
 19 [\fB\--\fP[no]autocomplete]
 20 [\fB\--\fP[no]verbose]
 21 [\fB\--prompt\fP·\fImode\fP]
 22 [\fB\--prompt-mode\fP·\fImode\fP]
 23 [\fB\--inf-ruby-mode\fP]
 24 [\fB\--simple-prompt\fP]
 25 [\fB\--noprompt\fP]
 26 [\fB\--tracer\fP]
 27 [\fB\--back-trace-limit\fP·\fIn\fP]
 28 [\fB\--\fP]
31 .Op·program_file29 [program_file]
32 .Op·argument·...30 [argument·...]
33 .Pp 
34 .Sh·DESCRIPTION31 .SH·DESCRIPTION
35 .Nm32 \fBirb\fP
36 is·the·REPL(read-eval-print·loop)·environment·for·Ruby·programs.33 is·the·REPL(read-eval-print·loop)·environment·for·Ruby·programs.
37 .Pp 
38 .Sh·OPTIONS34 .SH·OPTIONS
39 .Bl·-tag·-width·"1234567890123"·-compact 
40 .Pp 
41 .It·Fl·-version 
 35 .TP
 36 \fB\--version\fP
42 Prints·the·version·of37 Prints·the·version·of
43 .Nm·. 
44 .Pp 
45 .It·Fl·E·Ar·external·Ns·Op·:·Ns·Ar·internal 
46 .It·Fl·-encoding·Ar·external·Ns·Op·:·Ns·Ar·internal38 \fB.\fP
  
 39 .TP
 40 \fB\-E\fP·\fIexternal\fP[:\fIinternal\fP]
 41 .TP
 42 \fB\--encoding\fP·\fIexternal\fP[:\fIinternal\fP]
47 Same·as·`ruby·-E'·.43 Same·as·`ruby·-E'·.
48 Specifies·the·default·value(s)·for·external·encodings·and·internal·encoding.·Values·should·be·separated·with·colon·(:).44 Specifies·the·default·value(s)·for·external·encodings·and·internal·encoding.·Values·should·be·separated·with·colon·(:).
49 .Pp 
50 You·can·omit·the·one·for·internal·encodings,·then·the·value45 You·can·omit·the·one·for·internal·encodings,·then·the·value
51 .Pf·(·Li·"Encoding.default_internal"·)·will·be·nil.46 ("Encoding.default_internal")·will·be·nil.
52 .Pp 
53 .It·Fl·I·Ar·path 
 47 .TP
 48 \fB\-I\fP·\fIpath\fP
54 Same·as·`ruby·-I'·.49 Same·as·`ruby·-I'·.
55 Specifies50 Specifies
56 .Li·$LOAD_PATH51 $LOAD_PATH
57 directory52 directory
58 .Pp 
59 .It·Fl·U 
 53 .TP
 54 \fB\-U\fP
60 Same·as·`ruby·-U'·.55 Same·as·`ruby·-U'·.
61 Sets·the·default·value·for·internal·encodings56 Sets·the·default·value·for·internal·encodings
62 .Pf·(·Li·"Encoding.default_internal"·)·to·UTF-8.57 ("Encoding.default_internal")·to·UTF-8.
63 .Pp 
64 .It·Fl·d 
 58 .TP
 59 \fB\-d\fP
65 Same·as·`ruby·-d'·.60 Same·as·`ruby·-d'·.
66 Sets61 Sets
67 .Li·$DEBUG62 $DEBUG
68 to·true.63 to·true.
69 .Pp 
70 .It·Fl·f 
 64 .TP
 65 \fB\-f\fP
71 Suppresses·read·of66 Suppresses·read·of
72 .Pa·~/.irbrc·. 
73 .Pp 
74 .It·Fl·w67 \fI~/.irbrc\fP.
  
 68 .TP
 69 \fB\-w\fP
75 Same·as·`ruby·-w'·.70 Same·as·`ruby·-w'·.
76 .Pp 
77 .Pp 
78 .It·Fl·W 
  
 71 .TP
 72 \fB\-W\fP
79 Same·as·`ruby·-W'·.73 Same·as·`ruby·-W'·.
80 .Pp 
81 .It·Fl·h 
82 .It·Fl·-help 
 74 .TP
 75 \fB\-h\fP
... Open expanded diff ...
7.88 KB
./usr/share/man/man1/ri.1
    
Offset 1, 247 lines modifiedOffset 1, 270 lines modified
1 .\"Ruby·is·copyrighted·by·Yukihiro·Matsumoto·<matz@netlab.jp>. 
2 .Dd·April·20,·2017 
3 .Dt·RI·\&1·"Ruby·Programmer's·Reference·Guide"1 .TH·RI·\&1·"Ruby·Programmer's·Reference·Guide"·"April·20,·2017"·"UNIX"
4 .Os·UNIX 
5 .Sh·NAME2 .SH·NAME
6 .Nm·ri3 \fBri\fP
7 .Nd·Ruby·API·reference·front·end4 \-·Ruby·API·reference·front·end
8 .Sh·SYNOPSIS5 .SH·SYNOPSIS
9 .Nm 
10 .Op·Fl·ahilTv 
11 .Op·Fl·d·Ar·DIRNAME 
12 .Op·Fl·f·Ar·FORMAT 
13 .Op·Fl·w·Ar·WIDTH 
14 .Op·Fl·-·Ns·Oo·Cm·no-·Oc·Ns·Cm·pager 
15 .Op·Fl·-server·Ns·Oo·=·Ns·Ar·PORT·Oc 
16 .Op·Fl·-·Ns·Oo·Cm·no-·Oc·Ns·Cm·list-doc-dirs 
17 .Op·Fl·-no-standard-docs 
18 .Op·Fl·-·Ns·Oo·Cm·no-·Oc·Ns·Bro·Cm·system·Ns·|·Ns·Cm·site·Ns·|·Ns·Cm·gems·Ns·|·Ns·Cm·home·Brc 
19 .Op·Fl·-·Ns·Oo·Cm·no-·Oc·Ns·Cm·profile 
20 .Op·Fl·-dump·Ns·=·Ns·Ar·CACHE 
21 .Op·Ar·name·...6 .br
 7 \fBri\fP
 8 [\fB\-ahilTv\fP]
 9 [\fB\-d\fP·\fIDIRNAME\fP]
 10 [\fB\-f\fP·\fIFORMAT\fP]
 11 [\fB\-w\fP·\fIWIDTH\fP]
 12 [\fB\--\fP[\fBno-\fP]\fBpager\fP]
 13 [\fB\--server\fP[=\fIPORT\fP]]
 14 [\fB\--\fP[\fBno-\fP]\fBlist-doc-dirs\fP]
 15 [\fB\--no-standard-docs\fP]
 16 [\fB\--\fP[\fBno-\fP]{\fBsystem\fP|\fBsite\fP|\fBgems\fP|\fBhome\fP}]
 17 [\fB\--\fP[\fBno-\fP]\fBprofile\fP]
 18 [\fB\--dump\fP=\fICACHE\fP]
 19 [\fIname\fP·...]
22 .Sh·DESCRIPTION20 .SH·DESCRIPTION
23 .Nm21 \fBri\fP
24 is·a·command-line·front·end·for·the·Ruby·API·reference.22 is·a·command-line·front·end·for·the·Ruby·API·reference.
25 You·can·search·and·read·the·API·reference·for·classes·and·methods·with23 You·can·search·and·read·the·API·reference·for·classes·and·methods·with
26 .Nm·. 
27 .Pp 
28 .Nm24 \fB.\fP
  
 25 \fBri\fP
29 is·a·part·of·Ruby.26 is·a·part·of·Ruby.
30 .Pp 
31 .Ar·name 
 27 \fIname\fP
32 can·be:28 can·be:
33 .Bl·-diag·-offset·indent 
34 .It·Class·|·Module·|·Module::Class29 It·Class·|·Module·|·Module::Class
35 .Pp 
36 .It·Class::method·|·Class#method·|·Class.method·|·method30 It·Class::method·|·Class#method·|·Class.method·|·method
37 .Pp 
38 .It·gem_name:·|·gem_name:README·|·gem_name:History31 It·gem_name:·|·gem_name:README·|·gem_name:History
  
39 .El 
40 .Pp 
41 All·class·names·may·be·abbreviated·to·their·minimum·unambiguous·form.32 All·class·names·may·be·abbreviated·to·their·minimum·unambiguous·form.
42 If·a·name·is·ambiguous,·all·valid·options·will·be·listed.33 If·a·name·is·ambiguous,·all·valid·options·will·be·listed.
43 .Pp 
44 A34 A
45 .Ql·\&.35 `\&.'
46 matches·either·class·or·instance·methods,·while·#method36 matches·either·class·or·instance·methods,·while·#method
47 matches·only·instance·and·::method·matches·only·class·methods.37 matches·only·instance·and·::method·matches·only·class·methods.
48 .Pp 
49 README·and·other·files·may·be·displayed·by·prefixing·them·with·the·gem·name38 README·and·other·files·may·be·displayed·by·prefixing·them·with·the·gem·name
50 they're·contained·in.··If·the·gem·name·is·followed·by·a39 they're·contained·in.··If·the·gem·name·is·followed·by·a
51 .Ql·\&:40 `\&:'
52 all·files·in·the·gem·will·be·shown.41 all·files·in·the·gem·will·be·shown.
53 The·file·name·extension·may·be·omitted·where·it·is·unambiguous.42 The·file·name·extension·may·be·omitted·where·it·is·unambiguous.
54 .Pp 
55 For·example:43 For·example:
56 .Bd·-literal·-offset·indent 
57 ri·Fil44 ri·Fil
 45 .br
58 ri·File46 ri·File
 47 .br
59 ri·File.new48 ri·File.new
 49 .br
60 ri·zip50 ri·zip
 51 .br
61 ri·rdoc:README52 ri·rdoc:README
62 .Ed 
63 .Pp53 .br
  
64 Note·that·shell·quoting·or·escaping·may·be·required·for·method·names54 Note·that·shell·quoting·or·escaping·may·be·required·for·method·names
65 containing·punctuation:55 containing·punctuation:
66 .Bd·-literal·-offset·indent 
67 ri·'Array.[]'56 ri·'Array.[]'
 57 .br
68 ri·compact\e!58 ri·compact\e!
69 .Ed 
70 .Pp59 .br
  
71 To·see·the·default·directories60 To·see·the·default·directories
72 .Nm61 \fBri\fP
73 will·search,·run:62 will·search,·run:
74 .Bd·-literal·-offset·indent 
75 ri·--list-doc-dirs63 ri·--list-doc-dirs
76 .Ed 
77 .Pp64 .br
  
78 Specifying·the65 Specifying·the
79 .Fl·-system·,·Fl·-site·,·Fl·-home·,·Fl·-gems·,66 \fB\--system\fP,\fB\--site\fP,\fB\--home\fP,\fB\--gems\fP,
80 or67 or
81 .Fl·-doc-dir68 \fB\--doc-dir\fP
82 options·will·limit69 options·will·limit
83 .Nm70 \fBri\fP
84 to·searching·only·the·specified·directories.71 to·searching·only·the·specified·directories.
85 .Pp 
86 .Nm 
 72 \fBri\fP
87 options·may·be·set·in·the73 options·may·be·set·in·the
88 .Ev·RI74 .IR·RI
89 environment·variable.75 environment·variable.
90 .Pp 
91 The76 The
92 .Nm77 \fBri\fP
93 pager·can·be·set·with·the78 pager·can·be·set·with·the
94 .Ev·RI_PAGER79 .IR·RI_PAGER
95 environment·variable·or·the80 environment·variable·or·the
96 .Ev·PAGER81 .IR·PAGER
97 environment·variable.82 environment·variable.
98 .Pp 
99 .Sh·OPTIONS83 .SH·OPTIONS
100 .Bl·-tag·-width·"1234567890123"·-compact 
101 .Pp 
... Open expanded diff ...
24.9 KB
./usr/share/man/man1/ruby.1
    
Offset 1, 664 lines modifiedOffset 1, 759 lines modified
1 .\"Ruby·is·copyrighted·by·Yukihiro·Matsumoto·<matz@netlab.jp>. 
2 .Dd·April·14,·2018 
3 .Dt·RUBY·\&1·"Ruby·Programmer's·Reference·Guide"1 .TH·RUBY·\&1·"Ruby·Programmer's·Reference·Guide"·"April·14,·2018"·"UNIX"
4 .Os·UNIX 
5 .Sh·NAME2 .SH·NAME
6 .Nm·ruby3 \fBruby\fP
7 .Nd·Interpreted·object-oriented·scripting·language4 \-·Interpreted·object-oriented·scripting·language
8 .Sh·SYNOPSIS5 .SH·SYNOPSIS
9 .Nm 
10 .Op·Fl·-copyright 
11 .Op·Fl·-version 
12 .Op·Fl·SUacdlnpswvy 
13 .Op·Fl·0·Ns·Op·Ar·octal 
14 .Op·Fl·C·Ar·directory 
15 .Op·Fl·E·Ar·external·Ns·Op·:·Ns·Ar·internal 
16 .Op·Fl·F·Ns·Op·Ar·pattern 
17 .Op·Fl·I·Ar·directory 
18 .Op·Fl·K·Ns·Op·Ar·c 
19 .Op·Fl·T·Ns·Op·Ar·level 
20 .Op·Fl·W·Ns·Op·Ar·level 
21 .Op·Fl·e·Ar·command 
22 .Op·Fl·i·Ns·Op·Ar·extension 
23 .Op·Fl·r·Ar·library 
24 .Op·Fl·x·Ns·Op·Ar·directory 
25 .Op·Fl·-·Ns·Bro·Cm·enable·Ns·|·Ns·Cm·disable·Brc·Ns·-·Ns·Ar·FEATURE 
26 .Op·Fl·-dump·Ns·=·Ns·Ar·target 
27 .Op·Fl·-verbose 
28 .Op·Fl·- 
29 .Op·Ar·program_file 
30 .Op·Ar·argument·...6 .br
 7 \fBruby\fP
 8 [\fB\--copyright\fP]
 9 [\fB\--version\fP]
 10 [\fB\-SUacdlnpswvy\fP]
 11 [\fB\-0\fP[\fIoctal\fP]]
 12 [\fB\-C\fP·\fIdirectory\fP]
 13 [\fB\-E\fP·\fIexternal\fP[:\fIinternal\fP]]
 14 [\fB\-F\fP[\fIpattern\fP]]
 15 [\fB\-I\fP·\fIdirectory\fP]
 16 [\fB\-K\fP[\fIc\fP]]
 17 [\fB\-T\fP[\fIlevel\fP]]
 18 [\fB\-W\fP[\fIlevel\fP]]
 19 [\fB\-e\fP·\fIcommand\fP]
 20 [\fB\-i\fP[\fIextension\fP]]
 21 [\fB\-r\fP·\fIlibrary\fP]
 22 [\fB\-x\fP[\fIdirectory\fP]]
 23 [\fB\--\fP{\fBenable\fP|\fBdisable\fP}-\fIFEATURE\fP]
 24 [\fB\--dump\fP=\fItarget\fP]
 25 [\fB\--verbose\fP]
 26 [\fB\--\fP]
 27 [\fIprogram_file\fP]
 28 [\fIargument\fP·...]
31 .Sh·DESCRIPTION29 .SH·DESCRIPTION
32 Ruby·is·an·interpreted·scripting·language·for·quick·and·easy30 Ruby·is·an·interpreted·scripting·language·for·quick·and·easy
33 object-oriented·programming.··It·has·many·features·to·process·text31 object-oriented·programming.··It·has·many·features·to·process·text
34 files·and·to·do·system·management·tasks·(like·in·Perl).··It·is·simple,32 files·and·to·do·system·management·tasks·(like·in·Perl).··It·is·simple,
35 straight-forward,·and·extensible.33 straight-forward,·and·extensible.
36 .Pp 
37 If·you·want·a·language·for·easy·object-oriented·programming,·or·you34 If·you·want·a·language·for·easy·object-oriented·programming,·or·you
38 don't·like·the·Perl·ugliness,·or·you·do·like·the·concept·of·LISP,·but35 don't·like·the·Perl·ugliness,·or·you·do·like·the·concept·of·LISP,·but
39 don't·like·too·many·parentheses,·Ruby·might·be·your·language·of36 don't·like·too·many·parentheses,·Ruby·might·be·your·language·of
40 choice.37 choice.
41 .Sh·FEATURES38 .SH·FEATURES
42 Ruby's·features·are·as·follows:39 Ruby's·features·are·as·follows:
43 .Bl·-tag·-width·6n40 .TP
44 .It·Sy·"Interpretive"41 .B·"Interpretive"
45 Ruby·is·an·interpreted·language,·so·you·don't·have·to·recompile42 Ruby·is·an·interpreted·language,·so·you·don't·have·to·recompile
46 programs·written·in·Ruby·to·execute·them.43 programs·written·in·Ruby·to·execute·them.
47 .Pp 
 44 .TP
48 .It·Sy·"Variables·have·no·type·(dynamic·typing)"45 .B·"Variables·have·no·type·(dynamic·typing)"
49 Variables·in·Ruby·can·contain·data·of·any·type.··You·don't·have·to46 Variables·in·Ruby·can·contain·data·of·any·type.··You·don't·have·to
50 worry·about·variable·typing.··Consequently,·it·has·a·weaker·compile47 worry·about·variable·typing.··Consequently,·it·has·a·weaker·compile
51 time·check.48 time·check.
52 .Pp 
 49 .TP
53 .It·Sy·"No·declaration·needed"50 .B·"No·declaration·needed"
54 You·can·use·variables·in·your·Ruby·programs·without·any·declarations.51 You·can·use·variables·in·your·Ruby·programs·without·any·declarations.
55 Variable·names·denote·their·scope·-·global,·class,·instance,·or·local.52 Variable·names·denote·their·scope·-·global,·class,·instance,·or·local.
56 .Pp 
 53 .TP
57 .It·Sy·"Simple·syntax"54 .B·"Simple·syntax"
58 Ruby·has·a·simple·syntax·influenced·slightly·from·Eiffel.55 Ruby·has·a·simple·syntax·influenced·slightly·from·Eiffel.
59 .Pp 
 56 .TP
60 .It·Sy·"No·user-level·memory·management"57 .B·"No·user-level·memory·management"
61 Ruby·has·automatic·memory·management.··Objects·no·longer·referenced58 Ruby·has·automatic·memory·management.··Objects·no·longer·referenced
62 from·anywhere·are·automatically·collected·by·the·garbage·collector59 from·anywhere·are·automatically·collected·by·the·garbage·collector
63 built·into·the·interpreter.60 built·into·the·interpreter.
64 .Pp 
 61 .TP
65 .It·Sy·"Everything·is·an·object"62 .B·"Everything·is·an·object"
66 Ruby·is·a·purely·object-oriented·language,·and·was·so·since·its63 Ruby·is·a·purely·object-oriented·language,·and·was·so·since·its
67 creation.··Even·such·basic·data·as·integers·are·seen·as·objects.64 creation.··Even·such·basic·data·as·integers·are·seen·as·objects.
68 .Pp 
 65 .TP
69 .It·Sy·"Class,·inheritance,·and·methods"66 .B·"Class,·inheritance,·and·methods"
70 Being·an·object-oriented·language,·Ruby·naturally·has·basic67 Being·an·object-oriented·language,·Ruby·naturally·has·basic
71 features·like·classes,·inheritance,·and·methods.68 features·like·classes,·inheritance,·and·methods.
72 .Pp 
 69 .TP
73 .It·Sy·"Singleton·methods"70 .B·"Singleton·methods"
74 Ruby·has·the·ability·to·define·methods·for·certain·objects.··For71 Ruby·has·the·ability·to·define·methods·for·certain·objects.··For
75 example,·you·can·define·a·press-button·action·for·certain·widget·by72 example,·you·can·define·a·press-button·action·for·certain·widget·by
76 defining·a·singleton·method·for·the·button.··Or,·you·can·make·up·your73 defining·a·singleton·method·for·the·button.··Or,·you·can·make·up·your
77 own·prototype·based·object·system·using·singleton·methods,·if·you·want74 own·prototype·based·object·system·using·singleton·methods,·if·you·want
78 to.75 to.
79 .Pp 
 76 .TP
80 .It·Sy·"Mix-in·by·modules"77 .B·"Mix-in·by·modules"
81 Ruby·intentionally·does·not·have·the·multiple·inheritance·as·it·is·a78 Ruby·intentionally·does·not·have·the·multiple·inheritance·as·it·is·a
82 source·of·confusion.··Instead,·Ruby·has·the·ability·to·share79 source·of·confusion.··Instead,·Ruby·has·the·ability·to·share
83 implementations·across·the·inheritance·tree.··This·is·often·called·a80 implementations·across·the·inheritance·tree.··This·is·often·called·a
84 .Sq·Mix-in·. 
85 .Pp81 `Mix-in'.
  
 82 .TP
86 .It·Sy·"Iterators"83 .B·"Iterators"
87 Ruby·has·iterators·for·loop·abstraction.84 Ruby·has·iterators·for·loop·abstraction.
88 .Pp 
 85 .TP
89 .It·Sy·"Closures"86 .B·"Closures"
90 In·Ruby,·you·can·objectify·the·procedure.87 In·Ruby,·you·can·objectify·the·procedure.
91 .Pp 
 88 .TP
92 .It·Sy·"Text·processing·and·regular·expressions"89 .B·"Text·processing·and·regular·expressions"
93 Ruby·has·a·bunch·of·text·processing·features·like·in·Perl.90 Ruby·has·a·bunch·of·text·processing·features·like·in·Perl.
... Open expanded diff ...
981 B
reproducibleA/tmp/deploy/ipk/core2-64/ruby_3.1.3-r0_core2-64.ipk vs.
reproducibleB/tmp/deploy/ipk/core2-64/ruby_3.1.3-r0_core2-64.ipk
853 B
data.tar.xz
831 B
data.tar
815 B
./usr/lib/ruby/3.1.0/x86_64-linux-gnu/rbconfig.rb
    
Offset 31, 15 lines modifiedOffset 31, 15 lines modified
31 ··CONFIG["RUBY_SO_NAME"]·=·"$(RUBY_BASE_NAME)"31 ··CONFIG["RUBY_SO_NAME"]·=·"$(RUBY_BASE_NAME)"
32 ··CONFIG["exec"]·=·"exec"32 ··CONFIG["exec"]·=·"exec"
33 ··CONFIG["ruby_pc"]·=·"ruby-3.1.pc"33 ··CONFIG["ruby_pc"]·=·"ruby-3.1.pc"
34 ··CONFIG["CC_WRAPPER"]·=·""34 ··CONFIG["CC_WRAPPER"]·=·""
35 ··CONFIG["PACKAGE"]·=·"ruby"35 ··CONFIG["PACKAGE"]·=·"ruby"
36 ··CONFIG["BUILTIN_TRANSSRCS"]·=·"·enc/trans/newline.c"36 ··CONFIG["BUILTIN_TRANSSRCS"]·=·"·enc/trans/newline.c"
37 ··CONFIG["MKMF_VERBOSE"]·=·"0"37 ··CONFIG["MKMF_VERBOSE"]·=·"0"
38 ··CONFIG["MANTYPE"]·=·"doc"38 ··CONFIG["MANTYPE"]·=·"man"
39 ··CONFIG["vendorarchhdrdir"]·=·"$(vendorhdrdir)/$(sitearch)"39 ··CONFIG["vendorarchhdrdir"]·=·"$(vendorhdrdir)/$(sitearch)"
40 ··CONFIG["sitearchhdrdir"]·=·"$(sitehdrdir)/$(sitearch)"40 ··CONFIG["sitearchhdrdir"]·=·"$(sitehdrdir)/$(sitearch)"
41 ··CONFIG["rubyarchhdrdir"]·=·"$(rubyhdrdir)/$(arch)"41 ··CONFIG["rubyarchhdrdir"]·=·"$(rubyhdrdir)/$(arch)"
42 ··CONFIG["vendorhdrdir"]·=·"$(rubyhdrdir)/vendor_ruby"42 ··CONFIG["vendorhdrdir"]·=·"$(rubyhdrdir)/vendor_ruby"
43 ··CONFIG["sitehdrdir"]·=·"$(rubyhdrdir)/site_ruby"43 ··CONFIG["sitehdrdir"]·=·"$(rubyhdrdir)/site_ruby"
44 ··CONFIG["rubyhdrdir"]·=·"$(includedir)/$(RUBY_VERSION_NAME)"44 ··CONFIG["rubyhdrdir"]·=·"$(includedir)/$(RUBY_VERSION_NAME)"
45 ··CONFIG["RUBY_SEARCH_PATH"]·=·""45 ··CONFIG["RUBY_SEARCH_PATH"]·=·""
165 KB
reproducibleA/tmp/deploy/rpm vs.
reproducibleB/tmp/deploy/rpm
164 KB
reproducibleA/tmp/deploy/rpm/core2_64 vs.
reproducibleB/tmp/deploy/rpm/core2_64
104 KB
reproducibleA/tmp/deploy/rpm/core2_64/libedit-doc-20210910+3.1-r0.core2_64.rpm vs.
reproducibleB/tmp/deploy/rpm/core2_64/libedit-doc-20210910+3.1-r0.core2_64.rpm
8.99 KB
header
    
Offset 17, 39 lines modifiedOffset 17, 39 lines modified
17 000011a4000000310000047500000004000012680000003100000476000000080000132c000000030000139300000004000017 000011a4000000310000047500000004000012680000003100000476000000080000132c0000000300001393000000040000
18 136000000001000013c6000000060000136400000001000013e4000000080000136a00000001000013e500000004000013ac18 136000000001000013c6000000060000136400000001000013e4000000080000136a00000001000013e500000004000013ac
19 00000001000013e900000008000013b00000000143006c6962656469742d646f630032303231303931302b332e310072300019 00000001000013e900000008000013b00000000143006c6962656469742d646f630032303231303931302b332e3100723000
20 425344207265706c6163656d656e7420666f72206c6962726561646c696e65202d20446f63756d656e746174696f6e20666920 425344207265706c6163656d656e7420666f72206c6962726561646c696e65202d20446f63756d656e746174696f6e206669
21 6c657300436f6d6d616e64206c696e6520656469746f72206c6962726172792070726f766964696e672067656e657269632021 6c657300436f6d6d616e64206c696e6520656469746f72206c6962726172792070726f766964696e672067656e6572696320
22 6c696e652065646974696e672c20686973746f72792c20616e640a746f6b656e697a6174696f6e2066756e6374696f6e732022 6c696e652065646974696e672c20686973746f72792c20616e640a746f6b656e697a6174696f6e2066756e6374696f6e7320
23 2054686973207061636b61676520636f6e7461696e7320646f63756d656e746174696f6e2e000000613b8e6c726570726f6423 2054686973207061636b61676520636f6e7461696e7320646f63756d656e746174696f6e2e000000613b8e6c726570726f64
24 756369626c65000000000000ff214253442d332d436c6175736500506f6b79203c706f6b79406c697374732e796f63746f7024 756369626c65000000000000f5804253442d332d436c6175736500506f6b79203c706f6b79406c697374732e796f63746f70
25 726f6a6563742e6f72673e00646f6300687474703a2f2f7777772e74687279736f65652e646b2f656469746c696e652f006c25 726f6a6563742e6f72673e00646f6300687474703a2f2f7777772e74687279736f65652e646b2f656469746c696e652f006c
26 696e757800636f7265325f36340023206c6962656469742d646f63202d20706f7374696e73740a23212f62696e2f73680a7326 696e757800636f7265325f36340023206c6962656469742d646f63202d20706f7374696e73740a23212f62696e2f73680a73
27 6574202d650a097570646174652d616c7465726e617469766573202d2d696e7374616c6c202f7573722f73686172652f6d6127 6574202d650a097570646174652d616c7465726e617469766573202d2d696e7374616c6c202f7573722f73686172652f6d61
28 6e2f6d616e332f686973746f72792e3320686973746f72792e33202f7573722f73686172652f6d616e2f6d616e332f68697328 6e2f6d616e332f686973746f72792e3320686973746f72792e33202f7573722f73686172652f6d616e2f6d616e332f686973
29 746f72792e332e6c6962656469742039300023206c6962656469742d646f63202d20707265726d0a23212f62696e2f73680a29 746f72792e332e6c6962656469742039300023206c6962656469742d646f63202d20707265726d0a23212f62696e2f73680a
30 6966205b2022243122203d20223022205d203b207468656e0a736574202d650a097570646174652d616c7465726e6174697630 6966205b2022243122203d20223022205d203b207468656e0a736574202d650a097570646174652d616c7465726e61746976
31 6573202d2d72656d6f76652020686973746f72792e33202f7573722f73686172652f6d616e2f6d616e332f686973746f727931 6573202d2d72656d6f76652020686973746f72792e33202f7573722f73686172652f6d616e2f6d616e332f686973746f7279
32 2e332e6c6962656469740a6669000000000000000000000000000000000000005e340000000a0000000a0000000a0000000a32 2e332e6c6962656469740a6669000000000000000000000000000000000000005d140000000a0000000a0000000a0000000a
33 0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a000033 0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000
34 000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a34 000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a
35 0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a00000000000035 0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a000000000000
36 1b9800000000000083c541ed41ed41ed41ed81a4a1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ff36 1560000000000000817c41ed41ed41ed41ed81a4a1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ff
37 a1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ff37 a1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ff
38 41ed81a441ed81a400000000000000000000000000000000000000000000000000000000000000000000000000000000000038 41ed81a441ed81a4000000000000000000000000000000000000000000000000000000000000000000000000000000000000
39 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000039 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
40 000000000000613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c40 000000000000613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c
41 613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b41 613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b
42 8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c42 8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c
43 613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b43 613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b8e6c613b
44 8e6c000000003637666437333963313533303535636333633765346266666564316534633864383835626531613935356235 
45 3762633032326462663030333765323332326234000000000000000000000000000000000000000000000000000000000000 
46 0000000000000000000000006466323566336665313739313130303632386364313437356330366537666665373434666339 
47 3830326539313365376636356464343030363662633334653835000063643138356230373332373134623664616534653462 
48 303664333932343237616339663238646535303834636262326430643534653663326566343661633461000000000000656444 8e6c000000003236396639356533616436616461393337663939326431353135393834323733663166333663343331303830
 45 3131363833306538316137313063393337363766000000000000000000000000000000000000000000000000000000000000
 46 0000000000000000000000006636353933633435656431623431356439306630393361643165383465333037353137643535
 47 3666316134396634363335366439376435363134653638363236000039363332343135373764633935383836313565383462
 48 3432646635636637343763356639646161636538643838653837353833646338326630636138303336380000000000006564
49 69746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e6549 69746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e65
50 2e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e330065646950 2e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469
51 746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e51 746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e
52 3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e33006564697452 3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e330065646974
53 6c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3353 6c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e33
54 00656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c54 00656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c
55 696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e330055 696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300
Offset 111, 33 lines modifiedOffset 111, 33 lines modified
111 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
112 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000112 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
113 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000113 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
114 0001000000020000000200000002000000020000000200000002000000020000000200000002000000020000000200000002114 0001000000020000000200000002000000020000000200000002000000020000000200000002000000020000000200000002
115 0000000200000002000000020000000200000002000000020000000200000002000000020000000200000002000000020000115 0000000200000002000000020000000200000002000000020000000200000002000000020000000200000002000000020000
116 0002000000020000000200000002000000020000000200000002000000020000000200000002000000020000000200000002116 0002000000020000000200000002000000020000000200000002000000020000000200000002000000020000000200000002
117 000000020000000200000002000000000000000100000000000000016469726563746f72790074726f6666206f7220707265117 000000020000000200000002000000000000000100000000000000016469726563746f72790074726f6666206f7220707265
118 70726f636573736f7220696e7075742c2041534349492074657874000000000000087574662d380032393835316365366465118 70726f636573736f7220696e7075742c2041534349492074657874000000000000087574662d380031303338646166626263
119 6466363930323331376633373331616438643962346161616664346166646636653766633239373132646162326230613834 
120 3664313900000000000862303630353735303534663633373731323961333633626363316561353266323932383264623033 
121 303435383330653637336166613636396435366464323231000000003f00000007fffffc7000000010119 3536623335393635616434303139363466643864616234363062333433346466353933616530353362636562313136353066
 120 3534343800000000000839396537373237383766303835343734626538356236316165623663336365323032356665626235
 121 653038616163393464343462616137303365656265373932000000003f00000007fffffc7000000010
122 HEADERI18NTABLE:·122 HEADERI18NTABLE:·
123 ·-·C123 ·-·C
124 SIGSIZE:·22235 
125 SIGMD5:·31d3707765e4b32fc141ab21bd478ea2 
126 SHA1HEADER:·a939138f84aafb34bcf149085e2858972c364bd3 
127 SHA256HEADER:·2ce3333fd63fd46e342ee55589d786b797dec3da4efd79da9d14b4768629df77124 SIGSIZE:·21109
 125 SIGMD5:·3a5aa1c809451e8599596670d80d807b
 126 SHA1HEADER:·0528a46d139621cedaf8d09909fd4fbaeb5f291b
 127 SHA256HEADER:·08e0f0d749e9b374ff176c2287f2c40a95419f4d1c87c8801130622f1d90b1db
128 NAME:·libedit-doc128 NAME:·libedit-doc
129 VERSION:·20210910+3.1129 VERSION:·20210910+3.1
130 RELEASE:·r0130 RELEASE:·r0
131 SUMMARY:·BSD·replacement·for·libreadline·-·Documentation·files131 SUMMARY:·BSD·replacement·for·libreadline·-·Documentation·files
132 DESCRIPTION:·Command·line·editor·library·providing·generic·line·editing,·history,·and·tokenization·functions132 DESCRIPTION:·Command·line·editor·library·providing·generic·line·editing,·history,·and·tokenization·functions
133 This·package·contains·documentation.133 This·package·contains·documentation.
134 BUILDTIME:·1631293036134 BUILDTIME:·1631293036
135 BUILDHOST:·reproducible135 BUILDHOST:·reproducible
136 SIZE:·65313136 SIZE:·62848
137 LICENSE:·BSD-3-Clause137 LICENSE:·BSD-3-Clause
138 PACKAGER:·Poky·<poky@lists.yoctoproject.org>138 PACKAGER:·Poky·<poky@lists.yoctoproject.org>
139 GROUP:·doc139 GROUP:·doc
140 URL:·http://www.thrysoee.dk/editline/140 URL:·http://www.thrysoee.dk/editline/
141 OS:·linux141 OS:·linux
142 ARCH:·core2_64142 ARCH:·core2_64
143 POSTIN:·#·libedit-doc·-·postinst·#!/bin/sh·set·-e·········update-alternatives·--install143 POSTIN:·#·libedit-doc·-·postinst·#!/bin/sh·set·-e·········update-alternatives·--install
Offset 145, 15 lines modifiedOffset 145, 15 lines modified
145 PREUN:·#·libedit-doc·-·prerm·#!/bin/sh·if·[·"$1"·=·"0"·]·;·then·set·-e·········update-alternatives·--remove145 PREUN:·#·libedit-doc·-·prerm·#!/bin/sh·if·[·"$1"·=·"0"·]·;·then·set·-e·········update-alternatives·--remove
146 history.3·/usr/share/man/man3/history.3.libedit·fi146 history.3·/usr/share/man/man3/history.3.libedit·fi
147 FILESIZES:·147 FILESIZES:·
148 ·-·0148 ·-·0
149 ·-·0149 ·-·0
150 ·-·0150 ·-·0
151 ·-·0151 ·-·0
152 ·-·24116152 ·-·23828
153 ·-·10153 ·-·10
154 ·-·10154 ·-·10
155 ·-·10155 ·-·10
156 ·-·10156 ·-·10
157 ·-·10157 ·-·10
158 ·-·10158 ·-·10
159 ·-·10159 ·-·10
Offset 187, 17 lines modifiedOffset 187, 17 lines modified
187 ·-·10187 ·-·10
188 ·-·10188 ·-·10
189 ·-·10189 ·-·10
190 ·-·10190 ·-·10
191 ·-·10191 ·-·10
192 ·-·10192 ·-·10
193 ·-·0193 ·-·0
194 ·-·7064194 ·-·5472
195 ·-·0195 ·-·0
196 ·-·33733196 ·-·33148
197 FILEMODES:·197 FILEMODES:·
198 ·-·16877198 ·-·16877
199 ·-·16877199 ·-·16877
200 ·-·16877200 ·-·16877
201 ·-·16877201 ·-·16877
202 ·-·33188202 ·-·33188
203 ·-·41471203 ·-·41471
Offset 345, 15 lines modifiedOffset 345, 15 lines modified
345 ·-·1631293036345 ·-·1631293036
346 ·-·1631293036346 ·-·1631293036
347 FILEMD5S:·347 FILEMD5S:·
348 ·-·348 ·-·
349 ·-·349 ·-·
350 ·-·350 ·-·
351 ·-·351 ·-·
352 ·-·67fd739c153055cc3c7e4bffed1e4c8d885be1a955b57bc022dbf0037e2322b4352 ·-·269f95e3ad6ada937f992d1515984273f1f36c431080116830e81a710c93767f
353 ·-·353 ·-·
354 ·-·354 ·-·
... Open expanded diff ...
95.2 KB
content
2.63 KB
file list
    
Offset 1, 12 lines modifiedOffset 1, 12 lines modified
1 drwxr-xr-x···1········0········0········0·2021-09-10·16:57:16.000000·./usr1 drwxr-xr-x···1········0········0········0·2021-09-10·16:57:16.000000·./usr
2 drwxr-xr-x···1········0········0········0·2021-09-10·16:57:16.000000·./usr/share2 drwxr-xr-x···1········0········0········0·2021-09-10·16:57:16.000000·./usr/share
3 drwxr-xr-x···1········0········0········0·2021-09-10·16:57:16.000000·./usr/share/man3 drwxr-xr-x···1········0········0········0·2021-09-10·16:57:16.000000·./usr/share/man
4 drwxr-xr-x···1········0········0········0·2021-09-10·16:57:16.000000·./usr/share/man/man34 drwxr-xr-x···1········0········0········0·2021-09-10·16:57:16.000000·./usr/share/man/man3
5 -rw-r--r--···1········0········0····24116·2021-09-10·16:57:16.000000·./usr/share/man/man3/editline.35 -rw-r--r--···1········0········0····23828·2021-09-10·16:57:16.000000·./usr/share/man/man3/editline.3
6 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_deletestr.3·->·editline.36 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_deletestr.3·->·editline.3
7 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_end.3·->·editline.37 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_end.3·->·editline.3
8 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_get.3·->·editline.38 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_get.3·->·editline.3
9 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_getc.3·->·editline.39 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_getc.3·->·editline.3
10 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_gets.3·->·editline.310 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_gets.3·->·editline.3
11 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_init.3·->·editline.311 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_init.3·->·editline.3
12 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_init_fd.3·->·editline.312 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/el_init_fd.3·->·editline.3
Offset 40, 10 lines modifiedOffset 40, 10 lines modified
40 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_str.3·->·editline.340 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_str.3·->·editline.3
41 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_wend.3·->·editline.341 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_wend.3·->·editline.3
42 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_winit.3·->·editline.342 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_winit.3·->·editline.3
43 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_wline.3·->·editline.343 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_wline.3·->·editline.3
44 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_wreset.3·->·editline.344 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_wreset.3·->·editline.3
45 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_wstr.3·->·editline.345 lrwxrwxrwx···1········0········0·······10·2021-09-10·16:57:16.000000·./usr/share/man/man3/tok_wstr.3·->·editline.3
46 drwxr-xr-x···1········0········0········0·2021-09-10·16:57:16.000000·./usr/share/man/man546 drwxr-xr-x···1········0········0········0·2021-09-10·16:57:16.000000·./usr/share/man/man5
47 -rw-r--r--···1········0········0·····7064·2021-09-10·16:57:16.000000·./usr/share/man/man5/editrc.547 -rw-r--r--···1········0········0·····5472·2021-09-10·16:57:16.000000·./usr/share/man/man5/editrc.5
48 drwxr-xr-x···1········0········0········0·2021-09-10·16:57:16.000000·./usr/share/man/man748 drwxr-xr-x···1········0········0········0·2021-09-10·16:57:16.000000·./usr/share/man/man7
49 -rw-r--r--···1········0········0····33733·2021-09-10·16:57:16.000000·./usr/share/man/man7/editline.749 -rw-r--r--···1········0········0····33148·2021-09-10·16:57:16.000000·./usr/share/man/man7/editline.7
36.1 KB
./usr/share/man/man3/editline.3
    
Offset 1, 1020 lines modifiedOffset 1, 1172 lines modified
 1 .TH·EDITLINE·3·"August·15,·2021"·""
1 .\"»    $NetBSD:·editline.3,v·1.101·2021/08/15·10:12:54·wiz·Exp·$ 
2 .\" 
3 .\"·Copyright·(c)·1997-2014·The·NetBSD·Foundation,·Inc. 
4 .\"·All·rights·reserved. 
5 .\" 
6 .\"·This·file·was·contributed·to·The·NetBSD·Foundation·by·Luke·Mewburn. 
7 .\" 
8 .\"·Redistribution·and·use·in·source·and·binary·forms,·with·or·without 
9 .\"·modification,·are·permitted·provided·that·the·following·conditions 
10 .\"·are·met: 
11 .\"·1.·Redistributions·of·source·code·must·retain·the·above·copyright 
12 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer. 
13 .\"·2.·Redistributions·in·binary·form·must·reproduce·the·above·copyright 
14 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer·in·the 
15 .\"····documentation·and/or·other·materials·provided·with·the·distribution. 
16 .\" 
17 .\"·THIS·SOFTWARE·IS·PROVIDED·BY·THE·NETBSD·FOUNDATION,·INC.·AND·CONTRIBUTORS 
18 .\"·``AS·IS''·AND·ANY·EXPRESS·OR·IMPLIED·WARRANTIES,·INCLUDING,·BUT·NOT·LIMITED 
19 .\"·TO,·THE·IMPLIED·WARRANTIES·OF·MERCHANTABILITY·AND·FITNESS·FOR·A·PARTICULAR 
20 .\"·PURPOSE·ARE·DISCLAIMED.··IN·NO·EVENT·SHALL·THE·FOUNDATION·OR·CONTRIBUTORS 
21 .\"·BE·LIABLE·FOR·ANY·DIRECT,·INDIRECT,·INCIDENTAL,·SPECIAL,·EXEMPLARY,·OR 
22 .\"·CONSEQUENTIAL·DAMAGES·(INCLUDING,·BUT·NOT·LIMITED·TO,·PROCUREMENT·OF 
23 .\"·SUBSTITUTE·GOODS·OR·SERVICES;·LOSS·OF·USE,·DATA,·OR·PROFITS;·OR·BUSINESS 
24 .\"·INTERRUPTION)·HOWEVER·CAUSED·AND·ON·ANY·THEORY·OF·LIABILITY,·WHETHER·IN 
25 .\"·CONTRACT,·STRICT·LIABILITY,·OR·TORT·(INCLUDING·NEGLIGENCE·OR·OTHERWISE) 
26 .\"·ARISING·IN·ANY·WAY·OUT·OF·THE·USE·OF·THIS·SOFTWARE,·EVEN·IF·ADVISED·OF·THE 
27 .\"·POSSIBILITY·OF·SUCH·DAMAGE. 
28 .\" 
29 .Dd·August·15,·2021 
30 .Dt·EDITLINE·3 
31 .Os 
32 .Sh·NAME2 .SH·NAME
33 .Nm·editline·, 
34 .Nm·el_init·, 
35 .Nm·el_init_fd·, 
36 .Nm·el_end·, 
37 .Nm·el_reset·, 
38 .Nm·el_gets·, 
39 .Nm·el_wgets·, 
40 .Nm·el_getc·, 
41 .Nm·el_wgetc·, 
42 .Nm·el_push·, 
43 .Nm·el_wpush·, 
44 .Nm·el_parse·, 
45 .Nm·el_wparse·, 
46 .Nm·el_set·, 
47 .Nm·el_wset·, 
48 .Nm·el_get·, 
49 .Nm·el_wget·, 
50 .Nm·el_source·, 
51 .Nm·el_resize·, 
52 .Nm·el_cursor·, 
53 .Nm·el_line·, 
54 .Nm·el_wline·, 
55 .Nm·el_insertstr·, 
56 .Nm·el_winsertstr·, 
57 .Nm·el_deletestr·, 
58 .Nm·el_wdeletestr·, 
59 .Nm·history_init·, 
60 .Nm·history_winit·, 
61 .Nm·history_end·, 
62 .Nm·history_wend·, 
63 .Nm·history·, 
64 .Nm·history_w·, 
65 .Nm·tok_init·, 
66 .Nm·tok_winit·, 
67 .Nm·tok_end·, 
68 .Nm·tok_wend·, 
69 .Nm·tok_reset·, 
70 .Nm·tok_wreset·, 
71 .Nm·tok_line·, 
72 .Nm·tok_wline·, 
73 .Nm·tok_str·, 
74 .Nm·tok_wstr3 \fBeditline\fP,
 4 \fBel_init\fP,
 5 \fBel_init_fd\fP,
 6 \fBel_end\fP,
 7 \fBel_reset\fP,
 8 \fBel_gets\fP,
 9 \fBel_wgets\fP,
 10 \fBel_getc\fP,
 11 \fBel_wgetc\fP,
 12 \fBel_push\fP,
 13 \fBel_wpush\fP,
 14 \fBel_parse\fP,
 15 \fBel_wparse\fP,
 16 \fBel_set\fP,
 17 \fBel_wset\fP,
 18 \fBel_get\fP,
 19 \fBel_wget\fP,
 20 \fBel_source\fP,
 21 \fBel_resize\fP,
 22 \fBel_cursor\fP,
 23 \fBel_line\fP,
 24 \fBel_wline\fP,
 25 \fBel_insertstr\fP,
 26 \fBel_winsertstr\fP,
 27 \fBel_deletestr\fP,
 28 \fBel_wdeletestr\fP,
 29 \fBhistory_init\fP,
 30 \fBhistory_winit\fP,
 31 \fBhistory_end\fP,
 32 \fBhistory_wend\fP,
 33 \fBhistory\fP,
 34 \fBhistory_w\fP,
 35 \fBtok_init\fP,
 36 \fBtok_winit\fP,
 37 \fBtok_end\fP,
 38 \fBtok_wend\fP,
 39 \fBtok_reset\fP,
 40 \fBtok_wreset\fP,
 41 \fBtok_line\fP,
 42 \fBtok_wline\fP,
 43 \fBtok_str\fP,
 44 \fBtok_wstr\fP
75 .Nd·line·editor,·history·and·tokenization·functions45 \-·line·editor,·history·and·tokenization·functions
76 .Sh·LIBRARY46 .SH·LIBRARY
77 .Lb·libedit47 Command·Line·Editor·Library·(libedit,·-ledit)
78 .Sh·SYNOPSIS48 .SH·SYNOPSIS
79 .In·histedit.h 
80 .Ft·EditLine·* 
81 .Fn·el_init·"const·char·*prog"·"FILE·*fin"·"FILE·*fout"·"FILE·*ferr" 
82 .Ft·EditLine·* 
83 .Fn·el_init_fd·"const·char·*prog"·"FILE·*fin"·"FILE·*fout"·"FILE·*ferr"·"int·fdin"·"int·fdout"·"int·fderr" 
84 .Ft·void 
85 .Fn·el_end·"EditLine·*e" 
... Open expanded diff ...
9.49 KB
./usr/share/man/man5/editrc.5
    
Offset 1, 325 lines modifiedOffset 1, 314 lines modified
 1 .TH·EDITRC·5·"May·22,·2016"·""
1 .\"»    $NetBSD:·editrc.5,v·1.33·2017/06/27·01:22:58·kre·Exp·$ 
2 .\" 
3 .\"·Copyright·(c)·1997-2000·The·NetBSD·Foundation,·Inc. 
4 .\"·All·rights·reserved. 
5 .\" 
6 .\"·This·file·was·contributed·to·The·NetBSD·Foundation·by·Luke·Mewburn. 
7 .\" 
8 .\"·Redistribution·and·use·in·source·and·binary·forms,·with·or·without 
9 .\"·modification,·are·permitted·provided·that·the·following·conditions 
10 .\"·are·met: 
11 .\"·1.·Redistributions·of·source·code·must·retain·the·above·copyright 
12 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer. 
13 .\"·2.·Redistributions·in·binary·form·must·reproduce·the·above·copyright 
14 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer·in·the 
15 .\"····documentation·and/or·other·materials·provided·with·the·distribution. 
16 .\" 
17 .\"·THIS·SOFTWARE·IS·PROVIDED·BY·THE·NETBSD·FOUNDATION,·INC.·AND·CONTRIBUTORS 
18 .\"·``AS·IS''·AND·ANY·EXPRESS·OR·IMPLIED·WARRANTIES,·INCLUDING,·BUT·NOT·LIMITED 
19 .\"·TO,·THE·IMPLIED·WARRANTIES·OF·MERCHANTABILITY·AND·FITNESS·FOR·A·PARTICULAR 
20 .\"·PURPOSE·ARE·DISCLAIMED.··IN·NO·EVENT·SHALL·THE·FOUNDATION·OR·CONTRIBUTORS 
21 .\"·BE·LIABLE·FOR·ANY·DIRECT,·INDIRECT,·INCIDENTAL,·SPECIAL,·EXEMPLARY,·OR 
22 .\"·CONSEQUENTIAL·DAMAGES·(INCLUDING,·BUT·NOT·LIMITED·TO,·PROCUREMENT·OF 
23 .\"·SUBSTITUTE·GOODS·OR·SERVICES;·LOSS·OF·USE,·DATA,·OR·PROFITS;·OR·BUSINESS 
24 .\"·INTERRUPTION)·HOWEVER·CAUSED·AND·ON·ANY·THEORY·OF·LIABILITY,·WHETHER·IN 
25 .\"·CONTRACT,·STRICT·LIABILITY,·OR·TORT·(INCLUDING·NEGLIGENCE·OR·OTHERWISE) 
26 .\"·ARISING·IN·ANY·WAY·OUT·OF·THE·USE·OF·THIS·SOFTWARE,·EVEN·IF·ADVISED·OF·THE 
27 .\"·POSSIBILITY·OF·SUCH·DAMAGE. 
28 .\" 
29 .Dd·May·22,·2016 
30 .Dt·EDITRC·5 
31 .Os 
32 .Sh·NAME2 .SH·NAME
33 .Nm·editrc3 \fBeditrc\fP
34 .Nd·configuration·file·for·editline·library4 \-·configuration·file·for·editline·library
35 .Sh·SYNOPSIS5 .SH·SYNOPSIS
36 .Nm6 .br
 7 \fBeditrc\fP
37 .Sh·DESCRIPTION8 .SH·DESCRIPTION
38 The9 The
39 .Nm10 \fBeditrc\fP
40 file·defines·various·settings·to·be·used·by·the11 file·defines·various·settings·to·be·used·by·the
41 .Xr·editline·312 \fBeditline\fP(3)
42 library.13 library.
43 .Pp 
44 The·format·of·each·line·is:14 The·format·of·each·line·is:
45 .Pp 
46 .Dl·[prog:]command·[arg·...]15 [prog:]command·[arg·...]
47 .Pp 
48 .Ar·command 
 16 \fIcommand\fP
49 is·one·of·the17 is·one·of·the
50 .Xr·editline·318 \fBeditline\fP(3)
51 builtin·commands.19 builtin·commands.
52 Refer·to20 Refer·to
53 .Sx·BUILTIN·COMMANDS21 .B·BUILTIN·COMMANDS
54 for·more·information.22 for·more·information.
55 .Pp 
56 .Ar·prog 
 23 \fIprog\fP
57 is·the·program·name·string·that·a·program·defines·when·it·calls24 is·the·program·name·string·that·a·program·defines·when·it·calls
58 .Xr·el_init·325 \fBel_init\fP(3)
59 to·set·up26 to·set·up
60 .Xr·editline·3·,27 \fBeditline\fP(3),
61 which·is·usually28 which·is·usually
62 .Va·argv[0]·. 
63 .Ar·command29 \fIargv[0]\fP.
 30 \fIcommand\fP
64 will·be·executed·for·any·program·which·matches31 will·be·executed·for·any·program·which·matches
65 .Ar·prog·. 
66 .Pp 
67 .Ar·prog32 \fIprog\fP.
  
 33 \fIprog\fP
68 may·also·be·a34 may·also·be·a
69 .Xr·regex·335 \fBregex\fP(3)
70 style36 style
71 regular·expression,·in·which·case37 regular·expression,·in·which·case
72 .Ar·command38 \fIcommand\fP
73 will·be·executed·for·any·program·that·matches·the·regular·expression.39 will·be·executed·for·any·program·that·matches·the·regular·expression.
74 .Pp 
75 If40 If
76 .Ar·prog41 \fIprog\fP
77 is·absent,42 is·absent,
78 .Ar·command43 \fIcommand\fP
79 is·executed·for·all·programs.44 is·executed·for·all·programs.
80 .Sh·BUILTIN·COMMANDS45 .SH·BUILTIN·COMMANDS
81 The46 The
82 .Nm·editline47 \fBeditline\fP
83 library·has·some·builtin·commands,·which·affect·the·way48 library·has·some·builtin·commands,·which·affect·the·way
84 that·the·line·editing·and·history·functions·operate.49 that·the·line·editing·and·history·functions·operate.
85 These·are·based·on·similar·named·builtins·present·in·the50 These·are·based·on·similar·named·builtins·present·in·the
86 .Xr·tcsh·151 \fBtcsh\fP(1)
87 shell.52 shell.
88 .Pp 
89 The·following·builtin·commands·are·available:53 The·following·builtin·commands·are·available:
90 .Bl·-tag·-width·4n 
91 .It·Ic·bind·Oo·Fl·aeklrsv·Oc·Op·Ar·key·Op·Ar·command54 .TP
 55 \fBbind·Oo·Fl·aeklrsv·Oc·[\fIkey\fP·[\fIcommand]]\fP\fP
92 Without·options·and·arguments,·list·all·bound·keys·and·macros,·and56 Without·options·and·arguments,·list·all·bound·keys·and·macros,·and
93 the·editor·command·or·input·string·to·which·each·one·is·bound.57 the·editor·command·or·input·string·to·which·each·one·is·bound.
94 If·only58 If·only
95 .Ar·key59 \fIkey\fP
96 is·supplied,·show·the·binding·for·that·key·or·macro.60 is·supplied,·show·the·binding·for·that·key·or·macro.
97 If61 If
98 .Ar·key·command62 \fIkey\fP·command
99 is·supplied,·bind·the·editor63 is·supplied,·bind·the·editor
100 .Ar·command64 \fIcommand\fP
101 to·that·key·or·macro.65 to·that·key·or·macro.
102 .Pp 
103 The·options·are·as·follows:66 The·options·are·as·follows:
104 .Bl·-tag·-width·4n 
105 .It·Fl·a67 .RS
 68 .TP
 69 \fB\-a\fP
106 List·or·change·key·bindings·in·the70 List·or·change·key·bindings·in·the
107 .Xr·vi·171 \fBvi\fP(1)
108 mode·alternate·(command·mode)·key·map.72 mode·alternate·(command·mode)·key·map.
109 .It·Fl·e73 .TP
 74 \fB\-e\fP
110 Bind·all·keys·to·the·standard·GNU·Emacs-like·bindings.75 Bind·all·keys·to·the·standard·GNU·Emacs-like·bindings.
111 .It·Fl·k 
112 .Ar·key76 .TP
 77 \fB\-k\fP
 78 \fIkey\fP
113 is·interpreted·as·a·symbolic·arrow·key·name,·which·may·be·one·of79 is·interpreted·as·a·symbolic·arrow·key·name,·which·may·be·one·of
114 .Sq·up·, 
... Open expanded diff ...
47.0 KB
./usr/share/man/man7/editline.7
    
Offset 1, 935 lines modifiedOffset 1, 1001 lines modified
 1 .TH·EDITLINE·7·"May·7,·2016"·""
1 .\"»    $NetBSD:·editline.7,v·1.5·2016/05/09·21:27:55·christos·Exp·$ 
2 .\"»    $OpenBSD:·editline.7,v·1.1·2016/04/20·01:11:45·schwarze·Exp·$ 
3 .\" 
4 .\"·Copyright·(c)·2016·Ingo·Schwarze·<schwarze@openbsd.org> 
5 .\" 
6 .\"·Permission·to·use,·copy,·modify,·and·distribute·this·software·for·any 
7 .\"·purpose·with·or·without·fee·is·hereby·granted,·provided·that·the·above 
8 .\"·copyright·notice·and·this·permission·notice·appear·in·all·copies. 
9 .\" 
10 .\"·THE·SOFTWARE·IS·PROVIDED·"AS·IS"·AND·THE·AUTHOR·DISCLAIMS·ALL·WARRANTIES 
11 .\"·WITH·REGARD·TO·THIS·SOFTWARE·INCLUDING·ALL·IMPLIED·WARRANTIES·OF 
12 .\"·MERCHANTABILITY·AND·FITNESS.·IN·NO·EVENT·SHALL·THE·AUTHOR·BE·LIABLE·FOR 
13 .\"·ANY·SPECIAL,·DIRECT,·INDIRECT,·OR·CONSEQUENTIAL·DAMAGES·OR·ANY·DAMAGES 
14 .\"·WHATSOEVER·RESULTING·FROM·LOSS·OF·USE,·DATA·OR·PROFITS,·WHETHER·IN·AN 
15 .\"·ACTION·OF·CONTRACT,·NEGLIGENCE·OR·OTHER·TORTIOUS·ACTION,·ARISING·OUT·OF 
16 .\"·OR·IN·CONNECTION·WITH·THE·USE·OR·PERFORMANCE·OF·THIS·SOFTWARE. 
17 .\" 
18 .Dd·May·7,·2016 
19 .Dt·EDITLINE·7 
20 .Os 
21 .Sh·NAME2 .SH·NAME
22 .Nm·editline3 \fBeditline\fP
23 .Nd·line·editing·user·interface4 \-·line·editing·user·interface
24 .Sh·DESCRIPTION5 .SH·DESCRIPTION
25 When·a·program·using·the6 When·a·program·using·the
26 .Xr·editline·37 \fBeditline\fP(3)
27 library·prompts·for·an·input·string·using·the·function8 library·prompts·for·an·input·string·using·the·function
28 .Xr·el_wgets·3·,9 \fBel_wgets\fP(3),
29 it·reads·characters·from·the·terminal.10 it·reads·characters·from·the·terminal.
30 Invalid·input·bytes·that·do·not·form·characters·are·silently11 Invalid·input·bytes·that·do·not·form·characters·are·silently
31 discarded.12 discarded.
32 For·each·character·read,·one·editor·command·is·executed.13 For·each·character·read,·one·editor·command·is·executed.
33 The·mapping·of·input·characters·to·editor·commands·depends·on·the14 The·mapping·of·input·characters·to·editor·commands·depends·on·the
34 editing·mode.15 editing·mode.
35 There·are·three·editing·modes:·vi·insert·mode,·vi·command·mode,16 There·are·three·editing·modes:·vi·insert·mode,·vi·command·mode,
36 and·emacs·mode.17 and·emacs·mode.
37 The·default·is·vi·insert·mode.18 The·default·is·vi·insert·mode.
38 The·program·can·switch·the·default·to·emacs·mode·by·using·the19 The·program·can·switch·the·default·to·emacs·mode·by·using·the
39 .Xr·el_set·320 \fBel_set\fP(3)
40 or21 or
41 .Xr·el_parse·322 \fBel_parse\fP(3)
42 functions,·and·the·user·can·switch·to·emacs·mode·either·in·the23 functions,·and·the·user·can·switch·to·emacs·mode·either·in·the
43 .Xr·editrc·524 \fBeditrc\fP(5)
44 configuration·file·or·interactively·with·the25 configuration·file·or·interactively·with·the
45 .Ic·ed-command26 \fBed-command\fP
46 editor·command,·in·all·three·cases·executing·the27 editor·command,·in·all·three·cases·executing·the
47 .Ic·bind·Fl·e28 \fBbind·Fl·e\fP
48 builtin·command.29 builtin·command.
49 .Pp 
50 If·trying·to·read·from·the·terminal·results·in·end·of·file·or·an30 If·trying·to·read·from·the·terminal·results·in·end·of·file·or·an
51 error,·the·library·signals·end·of·file·to·the·program·and·does·not31 error,·the·library·signals·end·of·file·to·the·program·and·does·not
52 return·a·string.32 return·a·string.
53 .Ss·Input·character·bindings33 .SS·Input·character·bindings
54 All·default·bindings·described·below·can·be·overridden·by·individual34 All·default·bindings·described·below·can·be·overridden·by·individual
55 programs·and·can·be·changed·with·the35 programs·and·can·be·changed·with·the
56 .Xr·editrc·5 
57 .Ic·bind36 \fBeditrc\fP(5)
 37 \fBbind\fP
58 builtin·command.38 builtin·command.
59 .Pp 
60 In·the·following·tables,39 In·the·following·tables,
61 .Sq·Ctrl-40 `Ctrl-'
62 indicates·a·character·with·the·bit·0x40·flipped,·and41 indicates·a·character·with·the·bit·0x40·flipped,·and
63 .Sq·Meta-42 `Meta-'
64 indicates·a·character·with·the·bit·0x80·set.43 indicates·a·character·with·the·bit·0x80·set.
65 In·vi·insert·mode·and·in·emacs·mode,·all·Meta-characters·considered44 In·vi·insert·mode·and·in·emacs·mode,·all·Meta-characters·considered
66 printable·by·the·current45 printable·by·the·current
67 .Xr·locale·146 \fBlocale\fP(1)
68 are·bound·to47 are·bound·to
69 .Ic·ed-insert48 \fBed-insert\fP
70 instead·of·to·the·editor·command·listed·below.49 instead·of·to·the·editor·command·listed·below.
71 Consequently,·in·UTF-8·mode,·most·of·the·Meta-characters·are·not50 Consequently,·in·UTF-8·mode,·most·of·the·Meta-characters·are·not
72 directly·accessible·because·their·code·points·are·occupied·by51 directly·accessible·because·their·code·points·are·occupied·by
73 printable·Unicode·characters,·and·Meta-characters·are·usually·input52 printable·Unicode·characters,·and·Meta-characters·are·usually·input
74 using·the53 using·the
75 .Ic·em-meta-next54 \fBem-meta-next\fP
76 editor·command.55 editor·command.
77 For·example,·to·enter56 For·example,·to·enter
78 .Sq·Meta-B57 `Meta-B'
79 in·order·to·call·the58 in·order·to·call·the
80 .Ic·ed-prev-word59 \fBed-prev-word\fP
81 editor·command·in·emacs·mode,·call60 editor·command·in·emacs·mode,·call
82 .Ic·em-meta-next61 \fBem-meta-next\fP
83 by·pressing·and·releasing·the·escape·key·(or·equivalently,·Ctrl-[),62 by·pressing·and·releasing·the·escape·key·(or·equivalently,·Ctrl-[),
84 then·press·and·release·the63 then·press·and·release·the
85 .Sq·B64 `B'
86 key.65 key.
87 If·you·have·configured·a·Meta-key·on·your·keyboard,·for·example66 If·you·have·configured·a·Meta-key·on·your·keyboard,·for·example
88 with67 with
89 .Ql·setxkbmap·-option·altwin:left_meta_win·,68 `setxkbmap'·-option·altwin:left_meta_win·,
90 the·Ctrl-Meta-characters·are·directly·accessible.69 the·Ctrl-Meta-characters·are·directly·accessible.
91 For·example,·to·enter70 For·example,·to·enter
92 .Sq·Ctrl-Meta-H71 `Ctrl-Meta-H'
93 in·order·to·call·the72 in·order·to·call·the
94 .Ic·ed-delete-prev-word73 \fBed-delete-prev-word\fP
95 editor·command·in·emacs·mode,·hold·down·the·keys74 editor·command·in·emacs·mode,·hold·down·the·keys
96 .Sq·Ctrl·, 
97 .Sq·Meta·,75 `Ctrl',
 76 `Meta',
98 and77 and
99 .Sq·H78 `H'
100 at·the·same·time.79 at·the·same·time.
101 Alternatively,·press·and·release·the·escape·key,·then·press·and80 Alternatively,·press·and·release·the·escape·key,·then·press·and
102 release81 release
103 .Sq·Ctrl-H·. 
104 .Pp82 `Ctrl-H'.
  
105 In·vi·input·mode,·input·characters·are·bound·to·the·following·editor83 In·vi·input·mode,·input·characters·are·bound·to·the·following·editor
106 commands·by·default:84 commands·by·default:
107 .Bl·-column·-offset·indent·"Ctrl-Z,·TSTP"·"ed-search-next-history" 
108 .It·Ctrl-D,·EOF·Ta·Ic·vi-list-or-eof85 It·Ctrl-D,·EOF·Ta·\fBvi-list-or-eof\fP
109 .It·Ctrl-H,·BS·Ta·Ic·vi-delete-prev-char86 It·Ctrl-H,·BS·Ta·\fBvi-delete-prev-char\fP
110 .It·Ctrl-J,·LF·Ta·Ic·ed-newline87 It·Ctrl-J,·LF·Ta·\fBed-newline\fP
111 .It·Ctrl-M,·CR·Ta·Ic·ed-newline88 It·Ctrl-M,·CR·Ta·\fBed-newline\fP
112 .It·Ctrl-Q·Ta·Ic·ed-tty-start-output89 It·Ctrl-Q·Ta·\fBed-tty-start-output\fP
113 .It·Ctrl-S·Ta·Ic·ed-tty-stop-output90 It·Ctrl-S·Ta·\fBed-tty-stop-output\fP
114 .It·Ctrl-U·Ta·Ic·vi-kill-line-prev91 It·Ctrl-U·Ta·\fBvi-kill-line-prev\fP
115 .It·Ctrl-V·Ta·Ic·ed-quoted-insert92 It·Ctrl-V·Ta·\fBed-quoted-insert\fP
116 .It·Ctrl-W·Ta·Ic·ed-delete-prev-word93 It·Ctrl-W·Ta·\fBed-delete-prev-word\fP
117 .It·Ctrl-[,·ESC·Ta·Ic·vi-command-mode94 It·Ctrl-[,·ESC·Ta·\fBvi-command-mode\fP
118 .It·Ctrl-\e,·QUIT·Ta·Ic·ed-tty-sigquit95 It·Ctrl-\e,·QUIT·Ta·\fBed-tty-sigquit\fP
119 .It·Ctrl-?,·DEL·Ta·Ic·vi-delete-prev-char96 It·Ctrl-?,·DEL·Ta·\fBvi-delete-prev-char\fP
  
120 .El 
121 .Pp 
122 All·other·input·characters·except·the·NUL·character·(Ctrl-@)·are97 All·other·input·characters·except·the·NUL·character·(Ctrl-@)·are
... Open expanded diff ...
6.34 KB
reproducibleA/tmp/deploy/rpm/core2_64/ruby-3.1.3-r0.core2_64.rpm vs.
reproducibleB/tmp/deploy/rpm/core2_64/ruby-3.1.3-r0.core2_64.rpm
5.41 KB
header
    
Offset 1669, 16 lines modifiedOffset 1669, 16 lines modified
1669 34343961303136373739366264636639333963326661613933316231643931343833373762326663623331366632623732331669 3434396130313637373936626463663933396332666161393331623164393134383337376232666362333136663262373233
1670 30666137306261366600633464323737363666363962343331636265363530373164313934323434623238363337646137361670 3066613730626136660063346432373736366636396234333163626536353037316431393432343462323836333764613736
1671 62306630626136383166303463643565383564363731633700643030383662373063386463363135346463393634386536391671 6230663062613638316630346364356538356436373163370064303038366237306338646336313534646339363438653639
1672 65613530383538303534666262636432643937373333313866363032353764353431616238656300663837623562303634391672 6561353038353830353466626263643264393737333331386636303235376435343161623865630066383762356230363439
1673 63626665333466383734623861336231303162366337396236653335306439356335663132326161353434313464373935661673 6362666533346638373462386133623130316236633739623665333530643935633566313232616135343431346437393566
1674 38343766006661663061383334313931313135653635393732366130363831663831353535653366666566313364303235641674 3834376600666166306138333431393131313565363539373236613036383166383135353565336666656631336430323564
1675 64363334333466383161373634656565333836003535336535643737356266373032303866663636616162333030373134651675 6436333433346638316137363465656533383600353533653564373735626637303230386666363661616233303037313465
1676 61376463653832613131313730663234316438613930656134656365643331343838000034343439646230356634633461301676 6137646365383261313131373066323431643861393065613465636564333134383800006665326634653631353331323963
1677 66363036616664313831366634663832653239353836643630346637343035663763313235346338663861643432383434301677 3866613731643462356534343033666261343063353033306538363461613766636534363837343830356231366632376439
1678 00006235393337363231616337313535613936373662393562393831333637643838396539336236653631646637633262611678 0000623539333736323161633731353561393637366239356239383133363764383839653933623665363164663763326261
1679 37616338333136626430356637303433003966326461396633353730326438656437306237316162643466653563346539391679 3761633833313662643035663730343300396632646139663335373032643865643730623731616264346665356334653939
1680 63386436356465303965333737653861653236326537626637633236363461003065616136396434346636303237383330661680 6338643635646530396533373765386165323632653762663763323636346100306561613639643434663630323738333066
1681 66303535303932353535636564333835653939363436306233373666363336323862353438326535303033356333000000001681 6630353530393235353563656433383565393936343630623337366636333632386235343832653530303335633300000000
1682 00333335663130396162653339633165333436356466326432663137663531303865323933343037303434326537336330611682 0033333566313039616265333963316533343635646632643266313766353130386532393334303730343432653733633061
1683 31346430396465353430313233343100373130383363636264363761313461343362666137386433653464633066346235301683 3134643039646535343031323334310037313038336363626436376131346134336266613738643365346463306634623530
1684 33623963633138653562346231643638366463306639656637633463633000366432643562666133303132353765663263321684 3362396363313865356234623164363836646330663965663763346363300036643264356266613330313235376566326332
Offset 5781, 24 lines modifiedOffset 5781, 24 lines modified
5781 74682076657279206c6f6e67206c696e65732028313232322900415343494920746578742c20776974682076657279206c6f5781 74682076657279206c6f6e67206c696e65732028313232322900415343494920746578742c20776974682076657279206c6f
5782 6e67206c696e657320283633322900415343494920746578742c20776974682076657279206c6f6e67206c696e65732028345782 6e67206c696e657320283633322900415343494920746578742c20776974682076657279206c6f6e67206c696e6573202834
5783 3235302900415343494920746578742c20776974682076657279206c6f6e67206c696e6573202833323629004153434949205783 3235302900415343494920746578742c20776974682076657279206c6f6e67206c696e657320283332362900415343494920
5784 746578742c20776974682076657279206c6f6e67206c696e657320283634382900415343494920746578742c2077697468205784 746578742c20776974682076657279206c6f6e67206c696e657320283634382900415343494920746578742c207769746820
5785 76657279206c6f6e67206c696e657320283432352900415343494920746578742c20776974682076657279206c6f6e67206c5785 76657279206c6f6e67206c696e657320283432352900415343494920746578742c20776974682076657279206c6f6e67206c
5786 696e65732028323038382900415343494920746578742c20776974682076657279206c6f6e67206c696e65732028363133295786 696e65732028323038382900415343494920746578742c20776974682076657279206c6f6e67206c696e6573202836313329
5787 00415343494920746578742c20776974682076657279206c6f6e67206c696e657320283332332900415343494920746578745787 00415343494920746578742c20776974682076657279206c6f6e67206c696e65732028333233290041534349492074657874
5788 2c20776974682076657279206c6f6e67206c696e65732028333737290000000000087574662d3800613565636461303333305788 2c20776974682076657279206c6f6e67206c696e65732028333737290000000000087574662d380065613064623364366638
5789 3138393164633434346634306135383235306531646134353963333666633866396165303966353136666138373765393661 
5790 6561643700000000000839386234633466316435373165393032383363373133613963363064663633356639666661326165 
5791 366431363233383930343261333734373832626232656233000000003f00000007fffffc90000000105789 3130346332353030623139636563333361376539623937653264616436303231353733616166373064383766626231366361
 5790 6339323400000000000861396664636631356134643038653832636465633239343534666132393864316365636533386432
 5791 376665636636333762383164336564633165373964303961000000003f00000007fffffc9000000010
5792 HEADERI18NTABLE:·5792 HEADERI18NTABLE:·
5793 ·-·C5793 ·-·C
5794 SIGSIZE:·162258625794 SIGSIZE:·16225882
5795 SIGMD5:·c1b7dbad61216173a8092fe3ffdca49c 
5796 SHA1HEADER:·42c7a8ef96a2046b82f5d89bef8aea1761f79caa 
5797 SHA256HEADER:·9927d70495f996d2e5593b075c379d810b609e9b15ba624a092fdda7a7e1520e5795 SIGMD5:·5fb9d68b388170d4378fdb6fd296eefc
 5796 SHA1HEADER:·c753b04c204bafd213ae160b4e04a3be31c57364
 5797 SHA256HEADER:·d40b3a81ef4a44a5d8d59e81ac5d1337e670eac947ea9c1a9924785673d24cea
5798 NAME:·ruby5798 NAME:·ruby
5799 VERSION:·3.1.35799 VERSION:·3.1.3
5800 RELEASE:·r05800 RELEASE:·r0
5801 SUMMARY:·An·interpreter·of·object-oriented·scripting·language5801 SUMMARY:·An·interpreter·of·object-oriented·scripting·language
5802 DESCRIPTION:·Ruby·is·an·interpreted·scripting·language·for·quick·and·easy·object-·oriented·programming.·It·has5802 DESCRIPTION:·Ruby·is·an·interpreted·scripting·language·for·quick·and·easy·object-·oriented·programming.·It·has
5803 many·features·to·process·text·files·and·to·do·system·management·tasks·(as·in·Perl).·It·is·simple,5803 many·features·to·process·text·files·and·to·do·system·management·tasks·(as·in·Perl).·It·is·simple,
5804 straight-forward,·and·extensible.5804 straight-forward,·and·extensible.
Offset 15804, 15 lines modifiedOffset 15804, 15 lines modified
15804 ·-·4fbf1449a0167796bdcf939c2faa931b1d9148377b2fcb316f2b7230fa70ba6f15804 ·-·4fbf1449a0167796bdcf939c2faa931b1d9148377b2fcb316f2b7230fa70ba6f
15805 ·-·c4d27766f69b431cbe65071d194244b28637da76b0f0ba681f04cd5e85d671c715805 ·-·c4d27766f69b431cbe65071d194244b28637da76b0f0ba681f04cd5e85d671c7
15806 ·-·d0086b70c8dc6154dc9648e69ea50858054fbbcd2d9773318f60257d541ab8ec15806 ·-·d0086b70c8dc6154dc9648e69ea50858054fbbcd2d9773318f60257d541ab8ec
15807 ·-·f87b5b0649cbfe34f874b8a3b101b6c79b6e350d95c5f122aa54414d795f847f15807 ·-·f87b5b0649cbfe34f874b8a3b101b6c79b6e350d95c5f122aa54414d795f847f
15808 ·-·faf0a834191115e659726a0681f81555e3ffef13d025dd63434f81a764eee38615808 ·-·faf0a834191115e659726a0681f81555e3ffef13d025dd63434f81a764eee386
15809 ·-·553e5d775bf70208ff66aab300714ea7dce82a11170f241d8a90ea4eced3148815809 ·-·553e5d775bf70208ff66aab300714ea7dce82a11170f241d8a90ea4eced31488
15810 ·-·15810 ·-·
15811 ·-·4449db05f4c4a0f606afd1816f4f82e29586d604f7405f7c1254c8f8ad42844015811 ·-·fe2f4e6153129c8fa71d4b5e4403fba40c5030e864aa7fce46874805b16f27d9
15812 ·-·15812 ·-·
15813 ·-·b5937621ac7155a9676b95b981367d889e93b6e61df7c2ba7ac8316bd05f704315813 ·-·b5937621ac7155a9676b95b981367d889e93b6e61df7c2ba7ac8316bd05f7043
15814 ·-·9f2da9f35702d8ed70b71abd4fe5c4e99c8d65de09e377e8ae262e7bf7c2664a15814 ·-·9f2da9f35702d8ed70b71abd4fe5c4e99c8d65de09e377e8ae262e7bf7c2664a
15815 ·-·0eaa69d44f6027830ff055092555ced385e996460b376f63628b5482e50035c315815 ·-·0eaa69d44f6027830ff055092555ced385e996460b376f63628b5482e50035c3
15816 ·-·15816 ·-·
15817 ·-·15817 ·-·
15818 ·-·15818 ·-·
Offset 44882, 11 lines modifiedOffset 44882, 11 lines modified
44882 ·-·ASCII·text,·with·very·long·lines·(2088)44882 ·-·ASCII·text,·with·very·long·lines·(2088)
44883 ·-·ASCII·text,·with·very·long·lines·(613)44883 ·-·ASCII·text,·with·very·long·lines·(613)
44884 ·-·ASCII·text,·with·very·long·lines·(323)44884 ·-·ASCII·text,·with·very·long·lines·(323)
44885 ·-·ASCII·text,·with·very·long·lines·(377)44885 ·-·ASCII·text,·with·very·long·lines·(377)
44886 FILEDIGESTALGO:·844886 FILEDIGESTALGO:·8
44887 ENCODING:·utf-844887 ENCODING:·utf-8
44888 PAYLOADDIGEST:·44888 PAYLOADDIGEST:·
44889 ·-·a5ecda03301891dc444f40a58250e1da459c36fc8f9ae09f516fa877e96aead744889 ·-·ea0db3d6f8104c2500b19cec33a7e9b97e2dad6021573aaf70d87fbb16cac924
44890 PAYLOADDIGESTALGO:·844890 PAYLOADDIGESTALGO:·8
44891 PAYLOADDIGESTALT:·44891 PAYLOADDIGESTALT:·
44892 ·-·98b4c4f1d571e90283c713a9c60df635f9ffa2ae6d162389042a374782bb2eb344892 ·-·a9fdcf15a4d08e82cdec29454fa298d1cece38d27fecf637b81d3edc1e79d09a
829 B
content
815 B
./usr/lib/ruby/3.1.0/x86_64-linux-gnu/rbconfig.rb
    
Offset 31, 15 lines modifiedOffset 31, 15 lines modified
31 ··CONFIG["RUBY_SO_NAME"]·=·"$(RUBY_BASE_NAME)"31 ··CONFIG["RUBY_SO_NAME"]·=·"$(RUBY_BASE_NAME)"
32 ··CONFIG["exec"]·=·"exec"32 ··CONFIG["exec"]·=·"exec"
33 ··CONFIG["ruby_pc"]·=·"ruby-3.1.pc"33 ··CONFIG["ruby_pc"]·=·"ruby-3.1.pc"
34 ··CONFIG["CC_WRAPPER"]·=·""34 ··CONFIG["CC_WRAPPER"]·=·""
35 ··CONFIG["PACKAGE"]·=·"ruby"35 ··CONFIG["PACKAGE"]·=·"ruby"
36 ··CONFIG["BUILTIN_TRANSSRCS"]·=·"·enc/trans/newline.c"36 ··CONFIG["BUILTIN_TRANSSRCS"]·=·"·enc/trans/newline.c"
37 ··CONFIG["MKMF_VERBOSE"]·=·"0"37 ··CONFIG["MKMF_VERBOSE"]·=·"0"
38 ··CONFIG["MANTYPE"]·=·"doc"38 ··CONFIG["MANTYPE"]·=·"man"
39 ··CONFIG["vendorarchhdrdir"]·=·"$(vendorhdrdir)/$(sitearch)"39 ··CONFIG["vendorarchhdrdir"]·=·"$(vendorhdrdir)/$(sitearch)"
40 ··CONFIG["sitearchhdrdir"]·=·"$(sitehdrdir)/$(sitearch)"40 ··CONFIG["sitearchhdrdir"]·=·"$(sitehdrdir)/$(sitearch)"
41 ··CONFIG["rubyarchhdrdir"]·=·"$(rubyhdrdir)/$(arch)"41 ··CONFIG["rubyarchhdrdir"]·=·"$(rubyhdrdir)/$(arch)"
42 ··CONFIG["vendorhdrdir"]·=·"$(rubyhdrdir)/vendor_ruby"42 ··CONFIG["vendorhdrdir"]·=·"$(rubyhdrdir)/vendor_ruby"
43 ··CONFIG["sitehdrdir"]·=·"$(rubyhdrdir)/site_ruby"43 ··CONFIG["sitehdrdir"]·=·"$(rubyhdrdir)/site_ruby"
44 ··CONFIG["rubyhdrdir"]·=·"$(includedir)/$(RUBY_VERSION_NAME)"44 ··CONFIG["rubyhdrdir"]·=·"$(includedir)/$(RUBY_VERSION_NAME)"
45 ··CONFIG["RUBY_SEARCH_PATH"]·=·""45 ··CONFIG["RUBY_SEARCH_PATH"]·=·""
53.7 KB
reproducibleA/tmp/deploy/rpm/core2_64/ruby-doc-3.1.3-r0.core2_64.rpm vs.
reproducibleB/tmp/deploy/rpm/core2_64/ruby-doc-3.1.3-r0.core2_64.rpm
7.56 KB
header
    
Offset 18, 74 lines modifiedOffset 18, 74 lines modified
18 069c000000014300727562792d646f6300332e312e3300723000416e20696e746572707265746572206f66206f626a65637418 069c000000014300727562792d646f6300332e312e3300723000416e20696e746572707265746572206f66206f626a656374
19 2d6f7269656e74656420736372697074696e67206c616e6775616765202d20446f63756d656e746174696f6e2066696c657319 2d6f7269656e74656420736372697074696e67206c616e6775616765202d20446f63756d656e746174696f6e2066696c6573
20 005275627920697320616e20696e74657270726574656420736372697074696e67206c616e677561676520666f722071756920 005275627920697320616e20696e74657270726574656420736372697074696e67206c616e677561676520666f7220717569
21 636b20616e642065617379206f626a6563742d0a6f7269656e7465642070726f6772616d6d696e672e20497420686173206d21 636b20616e642065617379206f626a6563742d0a6f7269656e7465642070726f6772616d6d696e672e20497420686173206d
22 616e7920666561747572657320746f2070726f6365737320746578742066696c657320616e6420746f20646f0a737973746522 616e7920666561747572657320746f2070726f6365737320746578742066696c657320616e6420746f20646f0a7379737465
23 6d206d616e6167656d656e74207461736b732028617320696e205065726c292e2049742069732073696d706c652c2073747223 6d206d616e6167656d656e74207461736b732028617320696e205065726c292e2049742069732073696d706c652c20737472
24 61696768742d666f72776172642c20616e640a657874656e7369626c652e20202054686973207061636b61676520636f6e7424 61696768742d666f72776172642c20616e640a657874656e7369626c652e20202054686973207061636b61676520636f6e74
25 61696e7320646f63756d656e746174696f6e2e00637f4571726570726f64756369626c650000000000007db252756279207c25 61696e7320646f63756d656e746174696f6e2e00637f4571726570726f64756369626c65000000000000787f52756279207c
26 204253442d322d436c61757365207c204253442d332d436c61757365207c2047504c2d322e302d6f6e6c79207c204953432026 204253442d322d436c61757365207c204253442d332d436c61757365207c2047504c2d322e302d6f6e6c79207c2049534320
27 7c204d495400506f6b79203c706f6b79406c697374732e796f63746f70726f6a6563742e6f72673e00646f6300687474703a27 7c204d495400506f6b79203c706f6b79406c697374732e796f63746f70726f6a6563742e6f72673e00646f6300687474703a
28 2f2f7777772e727562792d6c616e672e6f72672f006c696e757800636f7265325f363400000000000000000000000000000028 2f2f7777772e727562792d6c616e672e6f72672f006c696e757800636f7265325f3634000000000000000000000000000000
29 0000000000000cfe00001145000014e300004a8c41ed41ed41ed41ed81a481a481a481a4000000000000000000000000000029 0000000000000c59000011520000132f000047a541ed41ed41ed41ed81a481a481a481a40000000000000000000000000000
30 0000637f4571637f4571637f4571637f4571637f456f637f456f637f456f637f456f0000000030613136376537356561343630 0000637f4571637f4571637f4571637f4571637f4571637f4571637f4571637f457100000000313666653564343431386331
31 3535303362313664623730643033346536616264653035613966306362623036663535343661656637646130316566613738 
32 3231003836303238313164356434346430346230613239323535663934326233353730353264396466613237396635663932 
33 3761366265363766393136363635313833003039393937353032333931383930376436633930383262646164323766663362 
34 3763303364643739366664363565653835333935633964663937313034353031006165376566343631383637306539386330 
35 613736346131316462633031643630633536323032616338386562646437343139323531353265373266326466356300000031 6138313733326263383933653037343234666263313631356338363163613265313430333566363035383634326466366566
 32 3962003462633062626237613262616361343365323036613865653131623632616436636265316430656363333531356262
 33 3931316133316565643331643666386365003136336136326665316235303536613539393438653334323832343733326562
 34 3931613265323630333530306439313866366630613138336666646238613531003430623732633562393739626364373562
 35 6663373964663866346562363238636238666662376163313239336235303332373239343632653932376637383033000000
36 0000000000000000000000000000000000000000000000000000000000000000000000000000726f6f7400726f6f7400726f36 0000000000000000000000000000000000000000000000000000000000000000000000000000726f6f7400726f6f7400726f
37 6f7400726f6f7400726f6f7400726f6f7400726f6f7400726f6f7400726f6f7400726f6f7400726f6f7400726f6f7400726f37 6f7400726f6f7400726f6f7400726f6f7400726f6f7400726f6f7400726f6f7400726f6f7400726f6f7400726f6f7400726f
38 6f7400726f6f7400726f6f7400726f6f7400727562792d332e312e332d72302e7372632e72706d000000ffffffffffffffff38 6f7400726f6f7400726f6f7400726f6f7400727562792d332e312e332d72302e7372632e72706d000000ffffffffffffffff
39 ffffffffffffffffffffffffffffffffffffffffffffffff727562792d646f63000000000100000a0100000a0100000a010039 ffffffffffffffffffffffffffffffffffffffffffffffff727562792d646f63000000000100000a0100000a0100000a0100
40 000a72706d6c696228436f6d7072657373656446696c654e616d6573290072706d6c69622846696c6544696765737473290040 000a72706d6c696228436f6d7072657373656446696c654e616d6573290072706d6c69622846696c65446967657374732900
41 72706d6c6962285061796c6f616446696c657348617665507265666978290072706d6c6962285061796c6f616449735a737441 72706d6c6962285061796c6f616446696c657348617665507265666978290072706d6c6962285061796c6f616449735a7374
42 642900332e302e342d3100342e362e302d3100342e302d3100352e342e31382d3100342e31372e310000000000010000000142 642900332e302e342d3100342e362e302d3100342e302d3100352e342e31382d3100342e31372e3100000000000100000001
43 000000010000000100000001000000010000000100000001000000010000000200000003000000040000000500000006000043 0000000100000001000000010000000100000001000000010000000100000002000000030000000400000005000000060000
44 000700000008000000000000000000000008332e312e332d723000000000000000000000000100000002000000030000000444 000700000008000000000000000000000008332e312e332d7230000000000000000000000001000000020000000300000004
45 000000040000000400000004757372007368617265006d616e006d616e31006572622e31006972622e310072692e3100727545 000000040000000400000004757372007368617265006d616e006d616e31006572622e31006972622e310072692e31007275
46 62792e31002f002f7573722f002f7573722f73686172652f002f7573722f73686172652f6d616e2f002f7573722f7368617246 62792e31002f002f7573722f002f7573722f73686172652f002f7573722f73686172652f6d616e2f002f7573722f73686172
47 652f6d616e2f6d616e312f002d4f32202d67006370696f007a7374640000257b5f7461726765745f706c6174666f726d7d0047 652f6d616e2f6d616e312f002d4f32202d67006370696f007a7374640000257b5f7461726765745f706c6174666f726d7d00
48 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000048 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
49 000000010000000100000001000000016469726563746f72790074726f6666206f722070726570726f636573736f7220696e49 000000010000000100000001000000016469726563746f72790074726f6666206f722070726570726f636573736f7220696e
50 7075742c2041534349492074657874000000000000087574662d380061313730326636613334363435313766393337643465 
51 3338303333306231386165633164303231626634636132633838386535616138633333646534653734630000000000086237 
52 3863633237343737373734343232353034646439356237616635623535646361616566383030313039393664363563653739 
53 363131653037366239343563000000003f00000007fffffcb00000001050 7075742c2041534349492074657874000000000000087574662d380031306537393837313639623133373361373466323035
 51 3330326538643363383133643765373639616130636133386562396430663164356461383763393763650000000000086463
 52 3535626535353634613533653964313965333134633261663562633237663166313636623636303330333532363239613765
 53 336238643736316665656637000000003f00000007fffffcb000000010
54 HEADERI18NTABLE:·54 HEADERI18NTABLE:·
55 ·-·C55 ·-·C
56 SIGSIZE:·1239456 SIGSIZE:·12258
57 SIGMD5:·6456440daae758a3cef4aa318e48a795 
58 SHA1HEADER:·fbab4a4a184753a04903937d0251b595e98bd3e8 
59 SHA256HEADER:·fbc894905cdd3be78cf33719474eda34323f71aa4d13ea518d344dbae9b2437c57 SIGMD5:·7f3e3644b0cee4bdc642f37f4d963671
 58 SHA1HEADER:·ed44177205738b93e801d79c531a513788fa159a
 59 SHA256HEADER:·e08c633b32cd7296c727bbd6fb0a5961df78b5ed382629458e13af6fa18612b9
60 NAME:·ruby-doc60 NAME:·ruby-doc
61 VERSION:·3.1.361 VERSION:·3.1.3
62 RELEASE:·r062 RELEASE:·r0
63 SUMMARY:·An·interpreter·of·object-oriented·scripting·language·-·Documentation·files63 SUMMARY:·An·interpreter·of·object-oriented·scripting·language·-·Documentation·files
64 DESCRIPTION:·Ruby·is·an·interpreted·scripting·language·for·quick·and·easy·object-·oriented·programming.·It·has64 DESCRIPTION:·Ruby·is·an·interpreted·scripting·language·for·quick·and·easy·object-·oriented·programming.·It·has
65 many·features·to·process·text·files·and·to·do·system·management·tasks·(as·in·Perl).·It·is·simple,65 many·features·to·process·text·files·and·to·do·system·management·tasks·(as·in·Perl).·It·is·simple,
66 straight-forward,·and·extensible.···This·package·contains·documentation.66 straight-forward,·and·extensible.···This·package·contains·documentation.
67 BUILDTIME:·166928523367 BUILDTIME:·1669285233
68 BUILDHOST:·reproducible68 BUILDHOST:·reproducible
69 SIZE:·3217869 SIZE:·30847
70 LICENSE:·Ruby·|·BSD-2-Clause·|·BSD-3-Clause·|·GPL-2.0-only·|·ISC·|·MIT70 LICENSE:·Ruby·|·BSD-2-Clause·|·BSD-3-Clause·|·GPL-2.0-only·|·ISC·|·MIT
71 PACKAGER:·Poky·<poky@lists.yoctoproject.org>71 PACKAGER:·Poky·<poky@lists.yoctoproject.org>
72 GROUP:·doc72 GROUP:·doc
73 URL:·http://www.ruby-lang.org/73 URL:·http://www.ruby-lang.org/
74 OS:·linux74 OS:·linux
75 ARCH:·core2_6475 ARCH:·core2_64
76 FILESIZES:·76 FILESIZES:·
77 ·-·077 ·-·0
78 ·-·078 ·-·0
79 ·-·079 ·-·0
80 ·-·080 ·-·0
81 ·-·3326 
82 ·-·4421 
83 ·-·534781 ·-·3161
 82 ·-·4434
 83 ·-·4911
84 ·-·1908484 ·-·18341
85 FILEMODES:·85 FILEMODES:·
86 ·-·1687786 ·-·16877
87 ·-·1687787 ·-·16877
88 ·-·1687788 ·-·16877
89 ·-·1687789 ·-·16877
90 ·-·3318890 ·-·33188
91 ·-·3318891 ·-·33188
Offset 101, 27 lines modifiedOffset 101, 27 lines modified
101 ·-·0101 ·-·0
102 ·-·0102 ·-·0
103 FILEMTIMES:·103 FILEMTIMES:·
104 ·-·1669285233104 ·-·1669285233
105 ·-·1669285233105 ·-·1669285233
106 ·-·1669285233106 ·-·1669285233
107 ·-·1669285233107 ·-·1669285233
108 ·-·1669285231108 ·-·1669285233
109 ·-·1669285231109 ·-·1669285233
110 ·-·1669285231110 ·-·1669285233
111 ·-·1669285231111 ·-·1669285233
112 FILEMD5S:·112 FILEMD5S:·
113 ·-·113 ·-·
114 ·-·114 ·-·
115 ·-·115 ·-·
116 ·-·116 ·-·
117 ·-·0a167e75ea465503b16db70d034e6abde05a9f0cbb06f5546aef7da01efa7821 
118 ·-·8602811d5d44d04b0a29255f942b357052d9dfa279f5f927a6be67f916665183 
119 ·-·099975023918907d6c9082bdad27ff3b7c03dd796fd65ee85395c9df97104501 
120 ·-·ae7ef4618670e98c0a764a11dbc01d60c56202ac88ebdd741925152e72f2df5c117 ·-·16fe5d4418c1a81732bc893e07424fbc1615c861ca2e14035f6058642df6ef9b
 118 ·-·4bc0bbb7a2baca43e206a8ee11b62ad6cbe1d0ecc3515bb911a31eed31d6f8ce
 119 ·-·163a62fe1b5056a59948e342824732eb91a2e2603500d918f6f0a183ffdb8a51
 120 ·-·40b72c5b979bcd75bfc79df8f4eb628cb8ffb7ac1293b5032729462e927f7803
121 FILELINKTOS:·121 FILELINKTOS:·
122 ·-·122 ·-·
123 ·-·123 ·-·
124 ·-·124 ·-·
125 ·-·125 ·-·
126 ·-·126 ·-·
127 ·-·127 ·-·
Offset 160, 15 lines modifiedOffset 160, 15 lines modified
160 ·-·4294967295160 ·-·4294967295
161 ·-·4294967295161 ·-·4294967295
162 ·-·4294967295162 ·-·4294967295
163 ·-·4294967295163 ·-·4294967295
164 ·-·4294967295164 ·-·4294967295
165 ·-·4294967295165 ·-·4294967295
166 ·-·4294967295166 ·-·4294967295
167 ARCHIVESIZE:·33364167 ARCHIVESIZE:·32036
168 PROVIDES:·168 PROVIDES:·
169 ·-·ruby-doc169 ·-·ruby-doc
... Open expanded diff ...
46.1 KB
content
1.12 KB
file list
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 drwxr-xr-x···1········0········0········0·2022-11-24·10:20:33.000000·./usr1 drwxr-xr-x···1········0········0········0·2022-11-24·10:20:33.000000·./usr
2 drwxr-xr-x···1········0········0········0·2022-11-24·10:20:33.000000·./usr/share2 drwxr-xr-x···1········0········0········0·2022-11-24·10:20:33.000000·./usr/share
3 drwxr-xr-x···1········0········0········0·2022-11-24·10:20:33.000000·./usr/share/man3 drwxr-xr-x···1········0········0········0·2022-11-24·10:20:33.000000·./usr/share/man
4 drwxr-xr-x···1········0········0········0·2022-11-24·10:20:33.000000·./usr/share/man/man14 drwxr-xr-x···1········0········0········0·2022-11-24·10:20:33.000000·./usr/share/man/man1
5 -rw-r--r--···1········0········0·····3326·2022-11-24·10:20:31.000000·./usr/share/man/man1/erb.15 -rw-r--r--···1········0········0·····3161·2022-11-24·10:20:33.000000·./usr/share/man/man1/erb.1
6 -rw-r--r--···1········0········0·····4421·2022-11-24·10:20:31.000000·./usr/share/man/man1/irb.16 -rw-r--r--···1········0········0·····4434·2022-11-24·10:20:33.000000·./usr/share/man/man1/irb.1
7 -rw-r--r--···1········0········0·····5347·2022-11-24·10:20:31.000000·./usr/share/man/man1/ri.17 -rw-r--r--···1········0········0·····4911·2022-11-24·10:20:33.000000·./usr/share/man/man1/ri.1
8 -rw-r--r--···1········0········0····19084·2022-11-24·10:20:31.000000·./usr/share/man/man1/ruby.18 -rw-r--r--···1········0········0····18341·2022-11-24·10:20:33.000000·./usr/share/man/man1/ruby.1
4.75 KB
./usr/share/man/man1/erb.1
    
Offset 1, 160 lines modifiedOffset 1, 184 lines modified
 1 .TH·ERB·\&1·"Ruby·Programmer's·Reference·Guide"·"December·16,·2018"·"UNIX"
1 .\"Ruby·is·copyrighted·by·Yukihiro·Matsumoto·<matz@netlab.jp>. 
2 .Dd·December·16,·2018 
3 .Dt·ERB·\&1·"Ruby·Programmer's·Reference·Guide" 
4 .Os·UNIX 
5 .Sh·NAME2 .SH·NAME
6 .Nm·erb3 \fBerb\fP
7 .Nd·Ruby·Templating4 \-·Ruby·Templating
8 .Sh·SYNOPSIS5 .SH·SYNOPSIS
9 .Nm 
10 .Op·Fl·-version 
11 .Op·Fl·UPdnvx 
12 .Op·Fl·E·Ar·ext·Ns·Op·Ns·:·Ns·int 
13 .Op·Fl·S·Ar·level 
14 .Op·Fl·T·Ar·mode 
15 .Op·Fl·r·Ar·library 
16 .Op·Fl·- 
17 .Op·file·... 
18 .Pp6 .br
 7 \fBerb\fP
 8 [\fB\--version\fP]
 9 [\fB\-UPdnvx\fP]
 10 [\fB\-E\fP·\fIext\fP[:int]]
 11 [\fB\-S\fP·\fIlevel\fP]
 12 [\fB\-T\fP·\fImode\fP]
 13 [\fB\-r\fP·\fIlibrary\fP]
 14 [\fB\--\fP]
 15 [file·...]
  
19 .Sh·DESCRIPTION16 .SH·DESCRIPTION
20 .Nm17 \fBerb\fP
21 is·a·command·line·front-end·for18 is·a·command·line·front-end·for
22 .Li·"ERB"19 "ERB"
23 library,·which·is·an·implementation·of·eRuby.20 library,·which·is·an·implementation·of·eRuby.
24 .Pp 
25 ERB·provides·an·easy·to·use·but·powerful·templating·system·for·Ruby.21 ERB·provides·an·easy·to·use·but·powerful·templating·system·for·Ruby.
26 Using·ERB,·actual·Ruby·code·can·be·added·to·any·plain·text·document·for·the22 Using·ERB,·actual·Ruby·code·can·be·added·to·any·plain·text·document·for·the
27 purposes·of·generating·document·information·details·and/or·flow·control.23 purposes·of·generating·document·information·details·and/or·flow·control.
28 .Pp 
29 .Nm 
 24 \fBerb\fP
30 is·a·part·of25 is·a·part·of
31 .Nm·Ruby·. 
32 .Pp26 \fBRuby\fP.
  
33 .Sh·OPTIONS27 .SH·OPTIONS
34 .Bl·-tag·-width·"1234567890123"·-compact 
35 .Pp 
36 .It·Fl·-version 
 28 .TP
 29 \fB\--version\fP
37 Prints·the·version·of30 Prints·the·version·of
38 .Nm·. 
39 .Pp 
40 .It·Fl·E·Ar·external·Ns·Op·:·Ns·Ar·internal 
41 .It·Fl·-encoding·Ar·external·Ns·Op·:·Ns·Ar·internal31 \fB.\fP
  
 32 .TP
 33 \fB\-E\fP·\fIexternal\fP[:\fIinternal\fP]
 34 .TP
 35 \fB\--encoding\fP·\fIexternal\fP[:\fIinternal\fP]
42 Specifies·the·default·value(s)·for·external·encodings·and·internal·encoding.·Values·should·be·separated·with·colon·(:).36 Specifies·the·default·value(s)·for·external·encodings·and·internal·encoding.·Values·should·be·separated·with·colon·(:).
43 .Pp 
44 You·can·omit·the·one·for·internal·encodings,·then·the·value37 You·can·omit·the·one·for·internal·encodings,·then·the·value
45 .Pf·(·Li·"Encoding.default_internal"·)·will·be·nil.38 ("Encoding.default_internal")·will·be·nil.
46 .Pp 
47 .It·Fl·P 
 39 .TP
 40 \fB\-P\fP
48 Disables·ruby·code·evaluation·for·lines·beginning·with41 Disables·ruby·code·evaluation·for·lines·beginning·with
49 .Li·"%"·. 
50 .Pp 
51 .It·Fl·S·Ar·level42 "%".
  
 43 .TP
 44 \fB\-S\fP·\fIlevel\fP
52 Specifies·the·safe·level·in·which·eRuby·script·will·run.45 Specifies·the·safe·level·in·which·eRuby·script·will·run.
53 .Pp 
54 .It·Fl·T·Ar·mode 
 46 .TP
 47 \fB\-T\fP·\fImode\fP
55 Specifies·trim·mode·(default·0).48 Specifies·trim·mode·(default·0).
56 .Ar·mode49 \fImode\fP
57 can·be·one·of50 can·be·one·of
58 .Bl·-hang·-offset·indent 
59 .It·Sy·051 .TP
 52 .B·0
60 EOL·remains·after·the·embedded·ruby·script·is·evaluated.53 EOL·remains·after·the·embedded·ruby·script·is·evaluated.
61 .Pp 
62 .It·Sy·1 
 54 .TP
 55 .B·1
63 EOL·is·removed·if·the·line·ends·with56 EOL·is·removed·if·the·line·ends·with
64 .Li·"%>"·. 
65 .Pp 
66 .It·Sy·257 "%>".
  
 58 .TP
 59 .B·2
67 EOL·is·removed·if·the·line·starts·with60 EOL·is·removed·if·the·line·starts·with
68 .Li·"<%"61 "<%"
69 and·ends·with62 and·ends·with
70 .Li·"%>"·. 
71 .Pp 
72 .It·Sy·-63 "%>".
  
 64 .TP
 65 .B·-
73 EOL·is·removed·if·the·line·ends·with66 EOL·is·removed·if·the·line·ends·with
74 .Li·"-%>"·.67 "-%>".
75 And·leading·whitespaces·are·removed·if·the·erb·directive·starts·with68 And·leading·whitespaces·are·removed·if·the·erb·directive·starts·with
76 .Li·"<%-"·. 
77 .Pp 
78 .El 
79 .It·Fl·r69 "<%-".
  
 70 .TP
 71 \fB\-r\fP
80 Load·a·library72 Load·a·library
81 .Pp 
82 .It·Fl·U 
 73 .TP
 74 \fB\-U\fP
83 can·be·one·of75 can·be·one·of
84 Sets·the·default·value·for·internal·encodings76 Sets·the·default·value·for·internal·encodings
85 .Pf·(·Li·"Encoding.default_internal"·)·to·UTF-8.77 ("Encoding.default_internal")·to·UTF-8.
86 .Pp 
... Open expanded diff ...
7.37 KB
./usr/share/man/man1/irb.1
    
Offset 1, 229 lines modifiedOffset 1, 290 lines modified
1 .\"Ruby·is·copyrighted·by·Yukihiro·Matsumoto·<matz@netlab.jp>. 
2 .Dd·August·11,·2019 
3 .Dt·IRB·\&1·"Ruby·Programmer's·Reference·Guide"1 .TH·IRB·\&1·"Ruby·Programmer's·Reference·Guide"·"August·11,·2019"·"UNIX"
4 .Os·UNIX 
5 .Sh·NAME2 .SH·NAME
6 .Nm·irb3 \fBirb\fP
7 .Nd·Interactive·Ruby·Shell4 \-·Interactive·Ruby·Shell
8 .Sh·SYNOPSIS5 .SH·SYNOPSIS
9 .Nm 
10 .Op·Fl·-version 
11 .Op·Fl·dfUw 
12 .Op·Fl·I·Ar·directory 
13 .Op·Fl·r·Ar·library 
14 .Op·Fl·E·Ar·external·Ns·Op·:·Ns·Ar·internal 
15 .Op·Fl·W·Ns·Op·Ar·level 
16 .Op·Fl·-·Ns·Oo·no·Oc·Ns·inspect 
17 .Op·Fl·-·Ns·Oo·no·Oc·Ns·multiline 
18 .Op·Fl·-·Ns·Oo·no·Oc·Ns·singleline 
19 .Op·Fl·-·Ns·Oo·no·Oc·Ns·echo 
20 .Op·Fl·-·Ns·Oo·no·Oc·Ns·colorize 
21 .Op·Fl·-·Ns·Oo·no·Oc·Ns·autocomplete 
22 .Op·Fl·-·Ns·Oo·no·Oc·Ns·verbose 
23 .Op·Fl·-prompt·Ar·mode 
24 .Op·Fl·-prompt-mode·Ar·mode 
25 .Op·Fl·-inf-ruby-mode 
26 .Op·Fl·-simple-prompt 
27 .Op·Fl·-noprompt 
28 .Op·Fl·-tracer 
29 .Op·Fl·-back-trace-limit·Ar·n 
30 .Op·Fl·-6 .br
 7 \fBirb\fP
 8 [\fB\--version\fP]
 9 [\fB\-dfUw\fP]
 10 [\fB\-I\fP·\fIdirectory\fP]
 11 [\fB\-r\fP·\fIlibrary\fP]
 12 [\fB\-E\fP·\fIexternal\fP[:\fIinternal\fP]]
 13 [\fB\-W\fP[\fIlevel\fP]]
 14 [\fB\--\fP[no]inspect]
 15 [\fB\--\fP[no]multiline]
 16 [\fB\--\fP[no]singleline]
 17 [\fB\--\fP[no]echo]
 18 [\fB\--\fP[no]colorize]
 19 [\fB\--\fP[no]autocomplete]
 20 [\fB\--\fP[no]verbose]
 21 [\fB\--prompt\fP·\fImode\fP]
 22 [\fB\--prompt-mode\fP·\fImode\fP]
 23 [\fB\--inf-ruby-mode\fP]
 24 [\fB\--simple-prompt\fP]
 25 [\fB\--noprompt\fP]
 26 [\fB\--tracer\fP]
 27 [\fB\--back-trace-limit\fP·\fIn\fP]
 28 [\fB\--\fP]
31 .Op·program_file29 [program_file]
32 .Op·argument·...30 [argument·...]
33 .Pp 
34 .Sh·DESCRIPTION31 .SH·DESCRIPTION
35 .Nm32 \fBirb\fP
36 is·the·REPL(read-eval-print·loop)·environment·for·Ruby·programs.33 is·the·REPL(read-eval-print·loop)·environment·for·Ruby·programs.
37 .Pp 
38 .Sh·OPTIONS34 .SH·OPTIONS
39 .Bl·-tag·-width·"1234567890123"·-compact 
40 .Pp 
41 .It·Fl·-version 
 35 .TP
 36 \fB\--version\fP
42 Prints·the·version·of37 Prints·the·version·of
43 .Nm·. 
44 .Pp 
45 .It·Fl·E·Ar·external·Ns·Op·:·Ns·Ar·internal 
46 .It·Fl·-encoding·Ar·external·Ns·Op·:·Ns·Ar·internal38 \fB.\fP
  
 39 .TP
 40 \fB\-E\fP·\fIexternal\fP[:\fIinternal\fP]
 41 .TP
 42 \fB\--encoding\fP·\fIexternal\fP[:\fIinternal\fP]
47 Same·as·`ruby·-E'·.43 Same·as·`ruby·-E'·.
48 Specifies·the·default·value(s)·for·external·encodings·and·internal·encoding.·Values·should·be·separated·with·colon·(:).44 Specifies·the·default·value(s)·for·external·encodings·and·internal·encoding.·Values·should·be·separated·with·colon·(:).
49 .Pp 
50 You·can·omit·the·one·for·internal·encodings,·then·the·value45 You·can·omit·the·one·for·internal·encodings,·then·the·value
51 .Pf·(·Li·"Encoding.default_internal"·)·will·be·nil.46 ("Encoding.default_internal")·will·be·nil.
52 .Pp 
53 .It·Fl·I·Ar·path 
 47 .TP
 48 \fB\-I\fP·\fIpath\fP
54 Same·as·`ruby·-I'·.49 Same·as·`ruby·-I'·.
55 Specifies50 Specifies
56 .Li·$LOAD_PATH51 $LOAD_PATH
57 directory52 directory
58 .Pp 
59 .It·Fl·U 
 53 .TP
 54 \fB\-U\fP
60 Same·as·`ruby·-U'·.55 Same·as·`ruby·-U'·.
61 Sets·the·default·value·for·internal·encodings56 Sets·the·default·value·for·internal·encodings
62 .Pf·(·Li·"Encoding.default_internal"·)·to·UTF-8.57 ("Encoding.default_internal")·to·UTF-8.
63 .Pp 
64 .It·Fl·d 
 58 .TP
 59 \fB\-d\fP
65 Same·as·`ruby·-d'·.60 Same·as·`ruby·-d'·.
66 Sets61 Sets
67 .Li·$DEBUG62 $DEBUG
68 to·true.63 to·true.
69 .Pp 
70 .It·Fl·f 
 64 .TP
 65 \fB\-f\fP
71 Suppresses·read·of66 Suppresses·read·of
72 .Pa·~/.irbrc·. 
73 .Pp 
74 .It·Fl·w67 \fI~/.irbrc\fP.
  
 68 .TP
 69 \fB\-w\fP
75 Same·as·`ruby·-w'·.70 Same·as·`ruby·-w'·.
76 .Pp 
77 .Pp 
78 .It·Fl·W 
  
 71 .TP
 72 \fB\-W\fP
79 Same·as·`ruby·-W'·.73 Same·as·`ruby·-W'·.
80 .Pp 
81 .It·Fl·h 
82 .It·Fl·-help 
 74 .TP
 75 \fB\-h\fP
... Open expanded diff ...
7.88 KB
./usr/share/man/man1/ri.1
    
Offset 1, 247 lines modifiedOffset 1, 270 lines modified
1 .\"Ruby·is·copyrighted·by·Yukihiro·Matsumoto·<matz@netlab.jp>. 
2 .Dd·April·20,·2017 
3 .Dt·RI·\&1·"Ruby·Programmer's·Reference·Guide"1 .TH·RI·\&1·"Ruby·Programmer's·Reference·Guide"·"April·20,·2017"·"UNIX"
4 .Os·UNIX 
5 .Sh·NAME2 .SH·NAME
6 .Nm·ri3 \fBri\fP
7 .Nd·Ruby·API·reference·front·end4 \-·Ruby·API·reference·front·end
8 .Sh·SYNOPSIS5 .SH·SYNOPSIS
9 .Nm 
10 .Op·Fl·ahilTv 
11 .Op·Fl·d·Ar·DIRNAME 
12 .Op·Fl·f·Ar·FORMAT 
13 .Op·Fl·w·Ar·WIDTH 
14 .Op·Fl·-·Ns·Oo·Cm·no-·Oc·Ns·Cm·pager 
15 .Op·Fl·-server·Ns·Oo·=·Ns·Ar·PORT·Oc 
16 .Op·Fl·-·Ns·Oo·Cm·no-·Oc·Ns·Cm·list-doc-dirs 
17 .Op·Fl·-no-standard-docs 
18 .Op·Fl·-·Ns·Oo·Cm·no-·Oc·Ns·Bro·Cm·system·Ns·|·Ns·Cm·site·Ns·|·Ns·Cm·gems·Ns·|·Ns·Cm·home·Brc 
19 .Op·Fl·-·Ns·Oo·Cm·no-·Oc·Ns·Cm·profile 
20 .Op·Fl·-dump·Ns·=·Ns·Ar·CACHE 
21 .Op·Ar·name·...6 .br
 7 \fBri\fP
 8 [\fB\-ahilTv\fP]
 9 [\fB\-d\fP·\fIDIRNAME\fP]
 10 [\fB\-f\fP·\fIFORMAT\fP]
 11 [\fB\-w\fP·\fIWIDTH\fP]
 12 [\fB\--\fP[\fBno-\fP]\fBpager\fP]
 13 [\fB\--server\fP[=\fIPORT\fP]]
 14 [\fB\--\fP[\fBno-\fP]\fBlist-doc-dirs\fP]
 15 [\fB\--no-standard-docs\fP]
 16 [\fB\--\fP[\fBno-\fP]{\fBsystem\fP|\fBsite\fP|\fBgems\fP|\fBhome\fP}]
 17 [\fB\--\fP[\fBno-\fP]\fBprofile\fP]
 18 [\fB\--dump\fP=\fICACHE\fP]
 19 [\fIname\fP·...]
22 .Sh·DESCRIPTION20 .SH·DESCRIPTION
23 .Nm21 \fBri\fP
24 is·a·command-line·front·end·for·the·Ruby·API·reference.22 is·a·command-line·front·end·for·the·Ruby·API·reference.
25 You·can·search·and·read·the·API·reference·for·classes·and·methods·with23 You·can·search·and·read·the·API·reference·for·classes·and·methods·with
26 .Nm·. 
27 .Pp 
28 .Nm24 \fB.\fP
  
 25 \fBri\fP
29 is·a·part·of·Ruby.26 is·a·part·of·Ruby.
30 .Pp 
31 .Ar·name 
 27 \fIname\fP
32 can·be:28 can·be:
33 .Bl·-diag·-offset·indent 
34 .It·Class·|·Module·|·Module::Class29 It·Class·|·Module·|·Module::Class
35 .Pp 
36 .It·Class::method·|·Class#method·|·Class.method·|·method30 It·Class::method·|·Class#method·|·Class.method·|·method
37 .Pp 
38 .It·gem_name:·|·gem_name:README·|·gem_name:History31 It·gem_name:·|·gem_name:README·|·gem_name:History
  
39 .El 
40 .Pp 
41 All·class·names·may·be·abbreviated·to·their·minimum·unambiguous·form.32 All·class·names·may·be·abbreviated·to·their·minimum·unambiguous·form.
42 If·a·name·is·ambiguous,·all·valid·options·will·be·listed.33 If·a·name·is·ambiguous,·all·valid·options·will·be·listed.
43 .Pp 
44 A34 A
45 .Ql·\&.35 `\&.'
46 matches·either·class·or·instance·methods,·while·#method36 matches·either·class·or·instance·methods,·while·#method
47 matches·only·instance·and·::method·matches·only·class·methods.37 matches·only·instance·and·::method·matches·only·class·methods.
48 .Pp 
49 README·and·other·files·may·be·displayed·by·prefixing·them·with·the·gem·name38 README·and·other·files·may·be·displayed·by·prefixing·them·with·the·gem·name
50 they're·contained·in.··If·the·gem·name·is·followed·by·a39 they're·contained·in.··If·the·gem·name·is·followed·by·a
51 .Ql·\&:40 `\&:'
52 all·files·in·the·gem·will·be·shown.41 all·files·in·the·gem·will·be·shown.
53 The·file·name·extension·may·be·omitted·where·it·is·unambiguous.42 The·file·name·extension·may·be·omitted·where·it·is·unambiguous.
54 .Pp 
55 For·example:43 For·example:
56 .Bd·-literal·-offset·indent 
57 ri·Fil44 ri·Fil
 45 .br
58 ri·File46 ri·File
 47 .br
59 ri·File.new48 ri·File.new
 49 .br
60 ri·zip50 ri·zip
 51 .br
61 ri·rdoc:README52 ri·rdoc:README
62 .Ed 
63 .Pp53 .br
  
64 Note·that·shell·quoting·or·escaping·may·be·required·for·method·names54 Note·that·shell·quoting·or·escaping·may·be·required·for·method·names
65 containing·punctuation:55 containing·punctuation:
66 .Bd·-literal·-offset·indent 
67 ri·'Array.[]'56 ri·'Array.[]'
 57 .br
68 ri·compact\e!58 ri·compact\e!
69 .Ed 
70 .Pp59 .br
  
71 To·see·the·default·directories60 To·see·the·default·directories
72 .Nm61 \fBri\fP
73 will·search,·run:62 will·search,·run:
74 .Bd·-literal·-offset·indent 
75 ri·--list-doc-dirs63 ri·--list-doc-dirs
76 .Ed 
77 .Pp64 .br
  
78 Specifying·the65 Specifying·the
79 .Fl·-system·,·Fl·-site·,·Fl·-home·,·Fl·-gems·,66 \fB\--system\fP,\fB\--site\fP,\fB\--home\fP,\fB\--gems\fP,
80 or67 or
81 .Fl·-doc-dir68 \fB\--doc-dir\fP
82 options·will·limit69 options·will·limit
83 .Nm70 \fBri\fP
84 to·searching·only·the·specified·directories.71 to·searching·only·the·specified·directories.
85 .Pp 
86 .Nm 
 72 \fBri\fP
87 options·may·be·set·in·the73 options·may·be·set·in·the
88 .Ev·RI74 .IR·RI
89 environment·variable.75 environment·variable.
90 .Pp 
91 The76 The
92 .Nm77 \fBri\fP
93 pager·can·be·set·with·the78 pager·can·be·set·with·the
94 .Ev·RI_PAGER79 .IR·RI_PAGER
95 environment·variable·or·the80 environment·variable·or·the
96 .Ev·PAGER81 .IR·PAGER
97 environment·variable.82 environment·variable.
98 .Pp 
99 .Sh·OPTIONS83 .SH·OPTIONS
100 .Bl·-tag·-width·"1234567890123"·-compact 
101 .Pp 
... Open expanded diff ...
24.9 KB
./usr/share/man/man1/ruby.1
    
Offset 1, 664 lines modifiedOffset 1, 759 lines modified
1 .\"Ruby·is·copyrighted·by·Yukihiro·Matsumoto·<matz@netlab.jp>. 
2 .Dd·April·14,·2018 
3 .Dt·RUBY·\&1·"Ruby·Programmer's·Reference·Guide"1 .TH·RUBY·\&1·"Ruby·Programmer's·Reference·Guide"·"April·14,·2018"·"UNIX"
4 .Os·UNIX 
5 .Sh·NAME2 .SH·NAME
6 .Nm·ruby3 \fBruby\fP
7 .Nd·Interpreted·object-oriented·scripting·language4 \-·Interpreted·object-oriented·scripting·language
8 .Sh·SYNOPSIS5 .SH·SYNOPSIS
9 .Nm 
10 .Op·Fl·-copyright 
11 .Op·Fl·-version 
12 .Op·Fl·SUacdlnpswvy 
13 .Op·Fl·0·Ns·Op·Ar·octal 
14 .Op·Fl·C·Ar·directory 
15 .Op·Fl·E·Ar·external·Ns·Op·:·Ns·Ar·internal 
16 .Op·Fl·F·Ns·Op·Ar·pattern 
17 .Op·Fl·I·Ar·directory 
18 .Op·Fl·K·Ns·Op·Ar·c 
19 .Op·Fl·T·Ns·Op·Ar·level 
20 .Op·Fl·W·Ns·Op·Ar·level 
21 .Op·Fl·e·Ar·command 
22 .Op·Fl·i·Ns·Op·Ar·extension 
23 .Op·Fl·r·Ar·library 
24 .Op·Fl·x·Ns·Op·Ar·directory 
25 .Op·Fl·-·Ns·Bro·Cm·enable·Ns·|·Ns·Cm·disable·Brc·Ns·-·Ns·Ar·FEATURE 
26 .Op·Fl·-dump·Ns·=·Ns·Ar·target 
27 .Op·Fl·-verbose 
28 .Op·Fl·- 
29 .Op·Ar·program_file 
30 .Op·Ar·argument·...6 .br
 7 \fBruby\fP
 8 [\fB\--copyright\fP]
 9 [\fB\--version\fP]
 10 [\fB\-SUacdlnpswvy\fP]
 11 [\fB\-0\fP[\fIoctal\fP]]
 12 [\fB\-C\fP·\fIdirectory\fP]
 13 [\fB\-E\fP·\fIexternal\fP[:\fIinternal\fP]]
 14 [\fB\-F\fP[\fIpattern\fP]]
 15 [\fB\-I\fP·\fIdirectory\fP]
 16 [\fB\-K\fP[\fIc\fP]]
 17 [\fB\-T\fP[\fIlevel\fP]]
 18 [\fB\-W\fP[\fIlevel\fP]]
 19 [\fB\-e\fP·\fIcommand\fP]
 20 [\fB\-i\fP[\fIextension\fP]]
 21 [\fB\-r\fP·\fIlibrary\fP]
 22 [\fB\-x\fP[\fIdirectory\fP]]
 23 [\fB\--\fP{\fBenable\fP|\fBdisable\fP}-\fIFEATURE\fP]
 24 [\fB\--dump\fP=\fItarget\fP]
 25 [\fB\--verbose\fP]
 26 [\fB\--\fP]
 27 [\fIprogram_file\fP]
 28 [\fIargument\fP·...]
31 .Sh·DESCRIPTION29 .SH·DESCRIPTION
32 Ruby·is·an·interpreted·scripting·language·for·quick·and·easy30 Ruby·is·an·interpreted·scripting·language·for·quick·and·easy
33 object-oriented·programming.··It·has·many·features·to·process·text31 object-oriented·programming.··It·has·many·features·to·process·text
34 files·and·to·do·system·management·tasks·(like·in·Perl).··It·is·simple,32 files·and·to·do·system·management·tasks·(like·in·Perl).··It·is·simple,
35 straight-forward,·and·extensible.33 straight-forward,·and·extensible.
36 .Pp 
37 If·you·want·a·language·for·easy·object-oriented·programming,·or·you34 If·you·want·a·language·for·easy·object-oriented·programming,·or·you
38 don't·like·the·Perl·ugliness,·or·you·do·like·the·concept·of·LISP,·but35 don't·like·the·Perl·ugliness,·or·you·do·like·the·concept·of·LISP,·but
39 don't·like·too·many·parentheses,·Ruby·might·be·your·language·of36 don't·like·too·many·parentheses,·Ruby·might·be·your·language·of
40 choice.37 choice.
41 .Sh·FEATURES38 .SH·FEATURES
42 Ruby's·features·are·as·follows:39 Ruby's·features·are·as·follows:
43 .Bl·-tag·-width·6n40 .TP
44 .It·Sy·"Interpretive"41 .B·"Interpretive"
45 Ruby·is·an·interpreted·language,·so·you·don't·have·to·recompile42 Ruby·is·an·interpreted·language,·so·you·don't·have·to·recompile
46 programs·written·in·Ruby·to·execute·them.43 programs·written·in·Ruby·to·execute·them.
47 .Pp 
 44 .TP
48 .It·Sy·"Variables·have·no·type·(dynamic·typing)"45 .B·"Variables·have·no·type·(dynamic·typing)"
49 Variables·in·Ruby·can·contain·data·of·any·type.··You·don't·have·to46 Variables·in·Ruby·can·contain·data·of·any·type.··You·don't·have·to
50 worry·about·variable·typing.··Consequently,·it·has·a·weaker·compile47 worry·about·variable·typing.··Consequently,·it·has·a·weaker·compile
51 time·check.48 time·check.
52 .Pp 
 49 .TP
53 .It·Sy·"No·declaration·needed"50 .B·"No·declaration·needed"
54 You·can·use·variables·in·your·Ruby·programs·without·any·declarations.51 You·can·use·variables·in·your·Ruby·programs·without·any·declarations.
55 Variable·names·denote·their·scope·-·global,·class,·instance,·or·local.52 Variable·names·denote·their·scope·-·global,·class,·instance,·or·local.
56 .Pp 
 53 .TP
57 .It·Sy·"Simple·syntax"54 .B·"Simple·syntax"
58 Ruby·has·a·simple·syntax·influenced·slightly·from·Eiffel.55 Ruby·has·a·simple·syntax·influenced·slightly·from·Eiffel.
59 .Pp 
 56 .TP
60 .It·Sy·"No·user-level·memory·management"57 .B·"No·user-level·memory·management"
61 Ruby·has·automatic·memory·management.··Objects·no·longer·referenced58 Ruby·has·automatic·memory·management.··Objects·no·longer·referenced
62 from·anywhere·are·automatically·collected·by·the·garbage·collector59 from·anywhere·are·automatically·collected·by·the·garbage·collector
63 built·into·the·interpreter.60 built·into·the·interpreter.
64 .Pp 
 61 .TP
65 .It·Sy·"Everything·is·an·object"62 .B·"Everything·is·an·object"
66 Ruby·is·a·purely·object-oriented·language,·and·was·so·since·its63 Ruby·is·a·purely·object-oriented·language,·and·was·so·since·its
67 creation.··Even·such·basic·data·as·integers·are·seen·as·objects.64 creation.··Even·such·basic·data·as·integers·are·seen·as·objects.
68 .Pp 
 65 .TP
69 .It·Sy·"Class,·inheritance,·and·methods"66 .B·"Class,·inheritance,·and·methods"
70 Being·an·object-oriented·language,·Ruby·naturally·has·basic67 Being·an·object-oriented·language,·Ruby·naturally·has·basic
71 features·like·classes,·inheritance,·and·methods.68 features·like·classes,·inheritance,·and·methods.
72 .Pp 
 69 .TP
73 .It·Sy·"Singleton·methods"70 .B·"Singleton·methods"
74 Ruby·has·the·ability·to·define·methods·for·certain·objects.··For71 Ruby·has·the·ability·to·define·methods·for·certain·objects.··For
75 example,·you·can·define·a·press-button·action·for·certain·widget·by72 example,·you·can·define·a·press-button·action·for·certain·widget·by
76 defining·a·singleton·method·for·the·button.··Or,·you·can·make·up·your73 defining·a·singleton·method·for·the·button.··Or,·you·can·make·up·your
77 own·prototype·based·object·system·using·singleton·methods,·if·you·want74 own·prototype·based·object·system·using·singleton·methods,·if·you·want
78 to.75 to.
79 .Pp 
 76 .TP
80 .It·Sy·"Mix-in·by·modules"77 .B·"Mix-in·by·modules"
81 Ruby·intentionally·does·not·have·the·multiple·inheritance·as·it·is·a78 Ruby·intentionally·does·not·have·the·multiple·inheritance·as·it·is·a
82 source·of·confusion.··Instead,·Ruby·has·the·ability·to·share79 source·of·confusion.··Instead,·Ruby·has·the·ability·to·share
83 implementations·across·the·inheritance·tree.··This·is·often·called·a80 implementations·across·the·inheritance·tree.··This·is·often·called·a
84 .Sq·Mix-in·. 
85 .Pp81 `Mix-in'.
  
 82 .TP
86 .It·Sy·"Iterators"83 .B·"Iterators"
87 Ruby·has·iterators·for·loop·abstraction.84 Ruby·has·iterators·for·loop·abstraction.
88 .Pp 
 85 .TP
89 .It·Sy·"Closures"86 .B·"Closures"
90 In·Ruby,·you·can·objectify·the·procedure.87 In·Ruby,·you·can·objectify·the·procedure.
91 .Pp 
 88 .TP
92 .It·Sy·"Text·processing·and·regular·expressions"89 .B·"Text·processing·and·regular·expressions"
93 Ruby·has·a·bunch·of·text·processing·features·like·in·Perl.90 Ruby·has·a·bunch·of·text·processing·features·like·in·Perl.
... Open expanded diff ...