changeset 16772:5afa9bb9daec

Another usage example for the %n%str escaping syntax and ao_sgi documentation update
author reimar
date Sat, 15 Oct 2005 14:38:02 +0000
parents 82a56c89b54d
children e226f84ea5bd
files DOCS/man/en/mplayer.1
diffstat 1 files changed, 13 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/man/en/mplayer.1	Sat Oct 15 11:51:37 2005 +0000
+++ b/DOCS/man/en/mplayer.1	Sat Oct 15 14:38:02 2005 +0000
@@ -455,9 +455,13 @@
 .br
 %n%string_of_length_n
 .br
-.I EXAMPLE:
+.I EXAMPLES:
 .br
 mplayer -ao pcm:file=%10%C:test.wav test.avi
+.br
+Or in a script:
+.br
+mplayer -ao pcm:file=%`expr length "$NAME"`%"$NAME" test.avi
 .PP
 You can put all of the options in configuration files which will be read
 every time MPlayer/MEncoder is run.
@@ -1989,6 +1993,14 @@
 .TP
 .B sgi (SGI only)
 native SGI audio output driver
+.PD 0
+.RSs
+.IPs "<output device name>"
+Explicitly choose the output device/\:interface to use
+(default: system-wide default).
+For example, 'Analog\ Out' or 'Digital\ Out'.
+.RE
+.PD 1
 .
 .TP
 .B sun (Sun only)