cho2txt.1 (969B)
1 .TH "CHO2TXT 1" "July 2023" "User Commands" 2 .SH NAME 3 cho2txt - Extract lyrics from chordpro files 4 .SH SYNOPSIS 5 .B cho2txt 6 [-t] 7 [-d] 8 [-h] 9 [-v] 10 [FILE]... 11 .SH DESCRIPTION 12 .PP 13 Provide one or more chordpro files as arguments 14 or pipe the content of one or more chordpro files via stdin. 15 The lyrics will be extracted and '\\n', '\\t', '\\r' and ' ' 16 will be trimmed at the beginning and the end. 17 Also lines containing no lyrics and only chordpro directives will be removed. 18 The resulting text will be printed to stdout. 19 .TP 20 \fB\,-t\/\fR, \fB\,--title\/\fR 21 Print the title of the song, e.g. 'Love Me Tender'. 22 .TP 23 \fB\,-d\/\fR, \fB\,--directive\/\fR 24 Print the title of the song as chordpro directive, e.g. '{title: Love Me Tender}' 25 .TP 26 \fB\,-h\/\fR, \fB\,--help\/\fR 27 Print help information. 28 .TP 29 \fB\,-v\/\fR, \fB\,--version\/\fR 30 Print program version to stdout. 31 .SH EXAMPLES 32 .sp 33 .RS 4 34 cat Love_Me_Tender.cho "You_ll_Never_Walk_Alone.cho" | cho2txt 35 36 cho2txt -t Love_Me_Tender.cho