imported sources

This commit is contained in:
Svend Sorensen
2004-06-24 23:32:16 +00:00
commit 2b85ca2167
34 changed files with 3711 additions and 0 deletions

28
man/Makefile Normal file
View File

@@ -0,0 +1,28 @@
# Makefile
INSTALL= install
INSTALL_PROGRAM= $(INSTALL)
INSTALL_DATA= $(INSTALL) -m 644
prefix= /usr/local
mandir= $(prefix)/man
DESTDIR=
TARGETS= cuebreakpoints.1 cueconvert.1 cueprint.1
all:
@true
install: all
$(INSTALL) -d $(DESTDIR)$(mandir)/man1
for i in $(TARGETS) ; do \
$(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/man1/$$i ; \
done
uninstall:
-for i in $(TARGETS) ; do \
rm -f $(DESTDIR)$(mandir)/man1/$$i ; \
done
clean:
@true

23
man/cuebreakpoints.1 Normal file
View File

@@ -0,0 +1,23 @@
.TH cuetools 1
.SH NAME
cuebreakpoints
.SH DESCRIPTION
cuebreakpoints outputs the breakpoints from a cue or toc file
.SH SYNTAX
cueconvert [-h] [-i cue|toc] [-o cue|toc] [file...]
.SH OPTIONS
.TP
.B \-h
print usage information
.TP
.B \-i cue|toc
set format of file(s)
.SH NOTES
The breakpoints are in a format usable by shnsplit (part of the shntool package). A track breakpoint is at index 1.
.PP
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
Svend Sorensen <sorensen@freeshell.org>
.SH "SEE ALSO"
cueconvert(1),
cueprint(1)

24
man/cueconvert.1 Normal file
View File

@@ -0,0 +1,24 @@
.TH cuetools 1
.SH NAME
cueconvert
.SH DESCRIPTION
cueconvert converts between the cue and toc formats
.SH SYNTAX
cueconvert [-h] [-i cue|toc] [-o cue|toc] [infile [outfile]]
.SH OPTIONS
.TP
.B \-h
print usage information
.TP
.B \-i cue|toc
set format of input file
.TP
.B \-i cue|toc
set format of output file
.SH NOTES
If infile or outfile is not specified, stdin and stdout are used, respectively. If a filename is specified and the format is not specified, the format will be set based on a ".cue" or ".toc" suffix. If the output file format is not specified, and it cannot be determined from the suffix, it will be set to the opposite of the input format.
.SH AUTHOR
Svend Sorensen <sorensen@freeshell.org>
.SH "SEE ALSO"
cuebreakpoints(1),
cueprint(1)

89
man/cueprint.1 Normal file
View File

@@ -0,0 +1,89 @@
.TH cuetools 1
.SH NAME
cueprint
.SH DESCRIPTION
cueprint \- print disc and track infomation for a cue or toc file
.SH SYNTAX
cueprint [\-h] [\-i cue|toc] [\-d TEMPLATE] [\-t TEMPLATE] [file...]
.SH OPTIONS
.TP
.B \-h
print usage information
.TP
.B \-i cue|toc
set format of file(s)
.TP
.B -d TEMPLATE
set disc template (see TEMPLATE EXPANSION)
.TP
.B -t TEMPLATE
set track template (see TEMPLATE EXPANSION)
.SH TEMPLATE EXPANSION
Disc template expansion characters are valid for both the disc and track templates.
.PP
Disc:
.TP
.B %A
album arranger
.TP
.B %C
album composer
.TP
.B %G
album genre
.TP
.B %M
album message
.TP
.B %N
number of tracks
.TP
.B %P
album performer
.TP
.B %S
album songwriter
.TP
.B %T
album title
.TP
.B %U
album UPC/EAN
.PP
Track:
.TP
.B %a
track arranger
.TP
.B %c
track composer
.TP
.B %g
track genre
.TP
.B %i
track ISRC
.TP
.B %m
track message
.TP
.B %n
track number
.TP
.B %p
track perfomer
.TP
.B %t
track title
.TP
.B %u
track ISRC (CD-TEXT)
.PP
Any other %<character> is expanded to that character. For example, %% expands to a literal `%'.
.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.
.SH AUTHOR
Svend Sorensen <sorensen@freeshell.org>
.SH "SEE ALSO"
cueconvert(1),
cuebreakpoints(1)