Update with conversion information.
This commit is contained in:
@@ -19,67 +19,116 @@ set disc template (see TEMPLATE EXPANSION)
|
|||||||
.B \-t TEMPLATE
|
.B \-t TEMPLATE
|
||||||
set track template (see TEMPLATE EXPANSION)
|
set track template (see TEMPLATE EXPANSION)
|
||||||
.SH TEMPLATE EXPANSION
|
.SH TEMPLATE EXPANSION
|
||||||
|
All characters in the template are reproduced in the output except for conversions, which begin with `%'.
|
||||||
|
.PP
|
||||||
|
A conversion has the form `%[flags][width][.precision]<conversion\-char>'.
|
||||||
|
.PP
|
||||||
|
There may be zero or more of the following flags:
|
||||||
|
.TP
|
||||||
|
.B \-
|
||||||
|
left justification
|
||||||
|
.TP
|
||||||
|
.B +
|
||||||
|
place sign before numbers
|
||||||
|
.TP
|
||||||
|
.B ` '
|
||||||
|
(space) place a space before a positive number
|
||||||
|
.TP
|
||||||
|
.B 0
|
||||||
|
pad with zeros
|
||||||
|
.TP
|
||||||
|
.B #
|
||||||
|
(unused)
|
||||||
|
.PP
|
||||||
|
width is the minimum field width. precision is the maximum width for strings.
|
||||||
|
.PP
|
||||||
Disc template expansion characters are valid for both the disc and track templates.
|
Disc template expansion characters are valid for both the disc and track templates.
|
||||||
.PP
|
.PP
|
||||||
Disc:
|
Disc:
|
||||||
.TP
|
.TP
|
||||||
.B %A
|
.B A
|
||||||
album arranger
|
album arranger
|
||||||
.TP
|
.TP
|
||||||
.B %C
|
.B C
|
||||||
album composer
|
album composer
|
||||||
.TP
|
.TP
|
||||||
.B %G
|
.B G
|
||||||
album genre
|
album genre
|
||||||
.TP
|
.TP
|
||||||
.B %M
|
.B M
|
||||||
album message
|
album message
|
||||||
.TP
|
.TP
|
||||||
.B %N
|
.B N
|
||||||
number of tracks
|
number of tracks
|
||||||
.TP
|
.TP
|
||||||
.B %P
|
.B P
|
||||||
album performer
|
album performer
|
||||||
.TP
|
.TP
|
||||||
.B %S
|
.B S
|
||||||
album songwriter
|
album songwriter
|
||||||
.TP
|
.TP
|
||||||
.B %T
|
.B T
|
||||||
album title
|
album title
|
||||||
.TP
|
.TP
|
||||||
.B %U
|
.B U
|
||||||
album UPC/EAN
|
album UPC/EAN
|
||||||
.PP
|
.PP
|
||||||
Track:
|
Track:
|
||||||
.TP
|
.TP
|
||||||
.B %a
|
.B a
|
||||||
track arranger
|
track arranger
|
||||||
.TP
|
.TP
|
||||||
.B %c
|
.B c
|
||||||
track composer
|
track composer
|
||||||
.TP
|
.TP
|
||||||
.B %g
|
.B g
|
||||||
track genre
|
track genre
|
||||||
.TP
|
.TP
|
||||||
.B %i
|
.B i
|
||||||
track ISRC
|
track ISRC
|
||||||
.TP
|
.TP
|
||||||
.B %m
|
.B m
|
||||||
track message
|
track message
|
||||||
.TP
|
.TP
|
||||||
.B %n
|
.B n
|
||||||
track number
|
track number
|
||||||
.TP
|
.TP
|
||||||
.B %p
|
.B p
|
||||||
track perfomer
|
track perfomer
|
||||||
.TP
|
.TP
|
||||||
.B %t
|
.B t
|
||||||
track title
|
track title
|
||||||
.TP
|
.TP
|
||||||
.B %u
|
.B u
|
||||||
track ISRC (CD-TEXT)
|
track ISRC (CD-TEXT)
|
||||||
.PP
|
.PP
|
||||||
Any other %<character> is expanded to that character. For example, %% expands to a literal `%'.
|
Any other character is expanded to that character. For example, a % expands to a literal `%'.
|
||||||
|
.SH ESCAPES
|
||||||
|
The following single-character escapes are recognized:
|
||||||
|
.TP
|
||||||
|
.B \ea
|
||||||
|
alert (bell)
|
||||||
|
.TP
|
||||||
|
.B \eb
|
||||||
|
backspace
|
||||||
|
.TP
|
||||||
|
.B \ef
|
||||||
|
formfeed
|
||||||
|
.TP
|
||||||
|
.B \en
|
||||||
|
newline
|
||||||
|
.TP
|
||||||
|
.B \er
|
||||||
|
carriage return
|
||||||
|
.TP
|
||||||
|
.B \et
|
||||||
|
horizontal tab
|
||||||
|
.TP
|
||||||
|
.B \ev
|
||||||
|
vertial tab
|
||||||
|
.TP
|
||||||
|
.B \e0
|
||||||
|
NULL
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
If no files are specified, stdin is used. If a filename is specified and the format is not specified, the format will be set based on a ".cue" or ".toc" suffix.
|
If no files are specified, stdin is used. If a filename is specified and the format is not specified, the format will be set based on a ".cue" or ".toc" suffix.
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
|
|||||||
Reference in New Issue
Block a user