summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--doc/ranger.13
-rw-r--r--doc/rifle.130
-rw-r--r--doc/rifle.pod4
3 files changed, 28 insertions, 9 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1
index 453f9d29..6d9afbb0 100644
--- a/doc/ranger.1
+++ b/doc/ranger.1
@@ -1074,6 +1074,9 @@ copy, run:
 .Vb 1
 \& git clone git://git.savannah.nongnu.org/ranger.git
 .Ve
+.SH "SEE ALSO"
+.IX Header "SEE ALSO"
+\&\fIrifle\fR\|(1)
 .SH "BUGS"
 .IX Header "BUGS"
 Report bugs here: <http://savannah.nongnu.org/bugs/?group=ranger>
diff --git a/doc/rifle.1 b/doc/rifle.1
index c6423326..2cfaed65 100644
--- a/doc/rifle.1
+++ b/doc/rifle.1
@@ -194,18 +194,30 @@ Specifies the directory for configuration files. Defaults to \fI\f(CI$HOME\fI/.c
 .SH "EXAMPLES"
 .IX Header "EXAMPLES"
 List all the different methods:
- $ rifle \-l helloworld.py
- 0:editor::\*(L"$EDITOR\*(R" \*(-- \*(L"$@\*(R"
- 1:pager::\*(L"$PAGER\*(R" \*(-- \*(L"$@\*(R"
- 2:::python \*(-- \*(L"$1\*(R"
+.PP
+.Vb 4
+\& $ rifle \-l helloworld.py
+\& 0:editor::"$EDITOR" \-\- "$@"
+\& 1:pager::"$PAGER" \-\- "$@"
+\& 2:::python \-\- "$1"
+.Ve
 .PP
 Display its content by opening it with \*(L"cat\*(R":
- $ rifle \-w cat helloworld.py
- print(\*(L"Hello World!\*(R")
+.PP
+.Vb 2
+\& $ rifle \-w cat helloworld.py
+\& print("Hello World!")
+.Ve
 .PP
 Run it by picking the method 2, which calls 'python \*(-- \*(L"$1\*(R"':
- $ rifle \-p 2 helloworld.py
- Hello World!
+.PP
+.Vb 2
+\& $ rifle \-p 2 helloworld.py
+\& Hello World!
+.Ve
 .PP
 Display the file in a pager inside a new terminal, run as root:
- $ rifle \-p 1 \-f tr helloworld.py
+.PP
+.Vb 1
+\& $ rifle \-p 1 \-f tr helloworld.py
+.Ve
diff --git a/doc/rifle.pod b/doc/rifle.pod
index 5a01057b..ea04c5ee 100644
--- a/doc/rifle.pod
+++ b/doc/rifle.pod
@@ -103,18 +103,22 @@ Specifies the directory for configuration files. Defaults to F<$HOME/.config>.
 =head1 EXAMPLES
 
 List all the different methods:
+
  $ rifle -l helloworld.py
  0:editor::"$EDITOR" -- "$@"
  1:pager::"$PAGER" -- "$@"
  2:::python -- "$1"
 
 Display its content by opening it with "cat":
+
  $ rifle -w cat helloworld.py
  print("Hello World!")
 
 Run it by picking the method 2, which calls 'python -- "$1"':
+
  $ rifle -p 2 helloworld.py
  Hello World!
 
 Display the file in a pager inside a new terminal, run as root:
+
  $ rifle -p 1 -f tr helloworld.py
2:18:05 -0700 committer Kartik K. Agaram <vc@akkartik.com> 2015-09-30 02:18:05 -0700 2223' href='/akkartik/mu/commit/024jump.cc?h=main&id=d855b0a0a5012c583a35dee57d03b66de895e164'>d855b0a0 ^
f2818edc ^
d855b0a0 ^
1b76245c ^
e4630643 ^

d855b0a0 ^
1b76245c ^
e4630643 ^

d855b0a0 ^



dc1323e9 ^
1066660e ^
cdd6fd09 ^
1066660e ^
f2818edc ^

6f8f9fb5 ^

795f5244 ^
f2818edc ^
88be3dbc ^
1ead3562 ^
100157d1 ^
d7494165 ^
100157d1 ^


d7494165 ^


201b2e6c ^
1848b18f ^

201b2e6c ^
795f5244 ^
d855b0a0 ^
201b2e6c ^
d855b0a0 ^
1b76245c ^
e4630643 ^

d855b0a0 ^
1b76245c ^
e4630643 ^

d855b0a0 ^
1b76245c ^
e4630643 ^

d855b0a0 ^



dc1323e9 ^
0487a30e ^
cdd6fd09 ^
201b2e6c ^

1066660e ^
cdd6fd09 ^
1066660e ^
201b2e6c ^

88be3dbc ^
1ead3562 ^
bc643692 ^

201b2e6c ^
bc643692 ^
201b2e6c ^
bc643692 ^
d7494165 ^
201b2e6c ^
88be3dbc ^
1ead3562 ^
bc643692 ^

201b2e6c ^
bc643692 ^
201b2e6c ^
bc643692 ^
57699011 ^
201b2e6c ^
1848b18f ^

201b2e6c ^
795f5244 ^
d855b0a0 ^
201b2e6c ^
d855b0a0 ^
1b76245c ^
e4630643 ^

d855b0a0 ^
1b76245c ^
e4630643 ^

d855b0a0 ^
1b76245c ^
e4630643 ^

d855b0a0 ^



dc1323e9 ^
0487a30e ^
cdd6fd09 ^
201b2e6c ^

1066660e ^
cdd6fd09 ^
1066660e ^
201b2e6c ^

88be3dbc ^
1ead3562 ^
bc643692 ^

201b2e6c ^
bc643692 ^
201b2e6c ^
bc643692 ^
d7494165 ^
201b2e6c ^
88be3dbc ^
1ead3562 ^
bc643692 ^

201b2e6c ^
bc643692 ^
201b2e6c ^
bc643692 ^
57699011 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153