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.
 
 
 
 
 
 

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