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.
 
 
 
 
 
 

150 lines
2.3 KiB

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