diff options
author | hut <hut@lavabit.com> | 2013-02-18 03:26:07 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-02-18 03:26:56 +0100 |
commit | 57c2dff12d03dbbe2b0fde0b19c9d5da2fb47336 (patch) | |
tree | a682fa8632537bdf69a867329768d0b8092046a9 /doc | |
parent | a6836d5d2b809dab92c178c3678317d8c8f00220 (diff) | |
download | ranger-57c2dff12d03dbbe2b0fde0b19c9d5da2fb47336.tar.gz |
doc/rifle.1: added whitespace at examples
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ranger.1 | 3 | ||||
-rw-r--r-- | doc/rifle.1 | 30 | ||||
-rw-r--r-- | doc/rifle.pod | 4 |
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 |