1a2crd(1) General Commands Manual a2crd(1)
2
3
4
6 a2crd - attempts the conversion of lyrics file into chordii input
7
9 a2crd [ options...] [ filename... ]
10
12 a2crd reads the lyrics of one songs from a file, and attempts to pro‐
13 duce a output suitable for chordii. Chord names can appear above or
14 below the lyrics. a2crd will embed those names into the lyrics.
15
16 The FAQ list of alt.guitar documents the way a ascii file should look,
17 but this format is not recognized by everyone, or fully enforced. Thus,
18 it is impossible to modify chordii itself to read *any* type of ascii
19 input and produce good result. a2crd tries its best to to do the
20 tedious conversion job.
21
22 a2crd attempts to recognize mail/news headers, and comments them out.
23 It preserves as is any line starting with a '{', which would indicates
24 a chordii command. It also preserves any lines starting with a '#'.
25
26 a2crd prepends to the output the content of a file called $HOME/.a2crd‐
27 sig, if it exists.
28
29 The first line that is not a comment is assumed to be the title of the
30 song. The nest lines until a blank one are assumed to be sub-titles.
31
32
34 -r ratio
35 Sets the threshold for chordii line recognition. a2crd looks at
36 every line. If the ratio ( space_characters / (non-space_char‐
37 acters) is greater than ratio, the line will be recognized as a
38 chordii line, and its content will be merge with the next
39 available text line. The ratio has a initial value of 1. It is
40 defined as a floating precision value.
41
42 -D Prints debugging information. For programmers only.
43
44 -o filename
45 Sends output to filename
46
47
48 See Also
49 chordii(l)
50
52 Copyright 2008 The Chordii Project
53 Copyright 1992 by Martin Leclerc and Mario Dorion
54
56 Martin Leclerc (martin.leclerc@canada.sun.com *** DEFUNCT ***)
57
58
59
60Utilities July 2009 a2crd(1)