You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

199 lines
2.5 KiB

  1. .TH cuetools 1
  2. .
  3. .SH NAME
  4. cueprint
  5. .
  6. .SH DESCRIPTION
  7. cueprint \- print disc and track infomation for a cue or toc file
  8. .
  9. .SH SYNOPSIS
  10. .B cueprint
  11. [option...] [file...]
  12. .
  13. .SH OPTIONS
  14. .TP
  15. .B \-h, \--help
  16. print usage information
  17. .
  18. .TP
  19. .B \-i, \--input-format cue|toc
  20. set format of file(s)
  21. .
  22. .TP
  23. .B \-n, \--track-number <number>
  24. only print track information for single track. The default is to print information for all tracks.
  25. .
  26. .TP
  27. .B \-d, \--disc-template <template>
  28. set disc template (see TEMPLATE EXPANSION)
  29. .
  30. .TP
  31. .B \-t, \--track-template <template>
  32. set track template (see TEMPLATE EXPANSION)
  33. .
  34. .SH TEMPLATE EXPANSION
  35. All characters in the template are reproduced in the output except for conversions, which begin with `%'.
  36. .PP
  37. A conversion has the form `%[flags][width][.precision]<conversion\-char>'.
  38. .PP
  39. There may be zero or more of the following flags:
  40. .
  41. .TP
  42. .B \-
  43. left justification
  44. .
  45. .TP
  46. .B +
  47. place sign before numbers
  48. .
  49. .TP
  50. .B ` '
  51. (space) place a space before a positive number
  52. .
  53. .TP
  54. .B 0
  55. pad with zeros
  56. .
  57. .TP
  58. .B #
  59. (unused)
  60. .
  61. .PP
  62. width is the minimum field width. precision is the maximum width for strings.
  63. .PP
  64. Disc template expansion characters are valid for both the disc and track templates.
  65. .PP
  66. .B Disc Conversion Specifiers
  67. .
  68. .TP
  69. .B A
  70. album arranger
  71. .
  72. .TP
  73. .B C
  74. album composer
  75. .
  76. .TP
  77. .B G
  78. album genre
  79. .
  80. .TP
  81. .B M
  82. album message
  83. .
  84. .TP
  85. .B N
  86. number of tracks
  87. .
  88. .TP
  89. .B P
  90. album performer
  91. .
  92. .TP
  93. .B S
  94. album songwriter
  95. .
  96. .TP
  97. .B T
  98. album title
  99. .
  100. .TP
  101. .B U
  102. album UPC/EAN
  103. .
  104. .PP
  105. .B Track Conversion Specifiers
  106. .
  107. .TP
  108. .B a
  109. track arranger
  110. .
  111. .TP
  112. .B c
  113. track composer
  114. .
  115. .TP
  116. .B g
  117. track genre
  118. .
  119. .TP
  120. .B i
  121. track ISRC
  122. .
  123. .TP
  124. .B m
  125. track message
  126. .
  127. .TP
  128. .B n
  129. track number
  130. .
  131. .TP
  132. .B p
  133. track perfomer
  134. .
  135. .TP
  136. .B t
  137. track title
  138. .
  139. .TP
  140. .B u
  141. track ISRC (CD-TEXT)
  142. .
  143. .PP
  144. Any other character is expanded to that character. For example, a % expands to a literal `%'.
  145. .
  146. .SH ESCAPES
  147. The following single-character escapes are recognized:
  148. .
  149. .TP
  150. .B \ea
  151. alert (bell)
  152. .
  153. .TP
  154. .B \eb
  155. backspace
  156. .
  157. .TP
  158. .B \ef
  159. formfeed
  160. .
  161. .TP
  162. .B \en
  163. newline
  164. .
  165. .TP
  166. .B \er
  167. carriage return
  168. .
  169. .TP
  170. .B \et
  171. horizontal tab
  172. .
  173. .TP
  174. .B \ev
  175. vertial tab
  176. .
  177. .TP
  178. .B \e0
  179. NULL
  180. .
  181. .SH NOTES
  182. 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.
  183. .
  184. .SH EXAMPLES
  185. To display disc and track information (using the default template for both), run:
  186. .PP
  187. % cueprint album.cue
  188. .PP
  189. To print the number of tracks in a cue file, run:
  190. .PP
  191. % cueprint -d '%N\en' album.cue
  192. .
  193. .SH AUTHOR
  194. Svend Sorensen
  195. .
  196. .SH "SEE ALSO"
  197. cueconvert(1),
  198. cuebreakpoints(1)