cueprint(1)
π cueprint(1) π
okay bestie, pull up a chair, we're doing the General Commands Manual thing π this is cueprint, and honestly? she eats.
β¨ NAME β¨
cueprint β report disc and track information from a CUE or TOC file π«Ά
πΈ SYNOPSIS πΈ
cueprint [ { -i format | --input-format=format } { -n number |
--track-number=number } { -d template | --disc-template=template } { -t
template | --track-template=template } ] [ file ... ]
cueprint -h | --help
cueprint -V | --version
π¦ DESCRIPTION π¦
so cueprint reports disc and track information from CUE and TOC files, which β fun fact β are typically created by compact disc ripping software. yeah. the ripping software. we love her π
By default, cueprint reports a default set of disc information, and a default set of information for each track on the disc. that's the vibe out of the box, no notes.
With options tho? the report can be restricted to a specific track, and the presentation of the disc and track information can be extensively customized using printf(3)-style format strings β which this manpage calls βtemplatesβ, to avoid confusion with the concept of file format. iconic clarification, we stan. β¨
All characters in a template are reproduced as-is in the output except for conversions (which begin with %) and escapes (which begin with \).
If no filenames are specified, cueprint reads from standard input, and an input format option must be specified. no format option, no input, that's the rule π¨
If one or more filenames is provided, but the input format option is not specified, the input format will be guessed based on each file's suffix (e.g., .cue or .toc). This heuristic is case-insensitive. she's guessing, but she's guessing smart π
π₯ Conversions π₯
A conversion has the form β%[flags][width][.precision]typeβ.
flags may be zero or more of the following:
-β left-justify expansion+β place sign before numbersβ β(space) β place a blank space before a positive number0β pad numbers with zeroes
width is the minimum field width. precision is the maximum width for strings. type is a single character which specifies the conversion type β apart from %, it is the only mandatory part of the conversion. she needs her type, periodt.
The available conversion types are presented below; disc conversion types are in the left half, and track conversion types in the right half. Disc template expansion characters are valid for both disc and track templates. iykyk β¨
Aβ album arranger | aβ track arrangerCβ album composer | cβ track composerGβ album genre | gβ track genre- (no disc version) |
iβ track ISRC Mβ album message | mβ track messageNβ number of tracks | nβ track numberPβ album performer | pβ track performerSβ album songwriterTβ album title | tβ track titleUβ album UPC/EAN | uβ track ISRC (CD-TEXT)
Any other character used as a conversion type expands to itself. this is how a literal percent sign is placed in the template; i.e., β%%β expands to β%β. π
π§ Escapes π§
The recognized escapes are all single characters, bestie, and they're listed right here:
\aβ alert (bell)\bβ backspace\fβ formfeed\nβ newline\rβ carriage return\tβ horizontal tab\vβ vertical tab\0β null
Any other character used after the β\β in an escape sequence expands to itself. this is how a literal escape character is placed in the template; i.e., β\\β expands to β\β. π
π OPTIONS π
-dtemplate,--disc-template=template β set disc template (see Conversions )-h,--helpβ displays a usage message and exits.-iformat,--input-format=format β sets the expected format of the input file(s) to format, which must be eithercueortoc.-nnumber,--track-number=number β only print track information for a single track. The default is to print information for all tracks.-ttemplate,--track-template=template β set track template (see Conversions )-V,--versionβ displays version information and exits.
π EXIT STATUS π
cueprint exits with status zero if it successfully reports information from each input file, and nonzero if there were problems. simple as. no cap. π«Ά
π EXAMPLES π
To display disc and track information (using the default template for both):
% cueprint album.cue
To print the number of tracks in a CUE file:
% cueprint -d '%N\n' album.cue
π AUTHOR π
Cuetools was written by Svend Sorensen. Branden Robinson contributed fixes and enhancements to the utilities and documentation. legends only π
β SEE ALSO β
cuebreakpoints(1), cueconvert(1), printf(3)
ok that's the whole page, bestie π go forth and print some cues, you're gonna slay
and that's a wrap on cueprint(1) from the General Commands Manual β she's iconic, she's useful, she's your girl. mwah πβ¨
π¦ where this page comes from
- alpine 3.24: cuetools-doc 1.4.1-r3 Β· GPL-2.0-only
- arch rolling: cuetools 1.4.1-6 Β· GPL
- debian bookworm: cuetools 1.4.1-0.2 Β· GPL-2.0-or-later
- debian trixie: cuetools 1.4.1-0.2 Β· GPL-2.0-or-later
- fedora 43: cuetools 1.4.1-11.fc43 Β· GPL-2.0-only
- fedora 44: cuetools 1.4.1-13.fc44 Β· GPL-2.0-only
- nixos 26.05: cuetools 1.4.1
- nixpkgs unstable: cuetools 1.4.1
- ubuntu jammy: cuetools 1.4.1-0.2 Β· GPL-2.0-or-later
- ubuntu noble: cuetools 1.4.1-0.2 Β· GPL-2.0-or-later
- ubuntu resolute: cuetools 1.4.1-0.2build1 Β· GPL-2.0-or-later
- ubuntu stonking: cuetools 1.4.1-0.2build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms