File: chordpro.pl

package info (click to toggle)
chordpro 6.070%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,124 kB
  • sloc: perl: 32,481; javascript: 28,043; xml: 55; makefile: 52; sh: 44
file content (56 lines) | stat: -rw-r--r-- 1,321 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/perl

# ChordPro -- Successor of Chord/Chordii

# Author          : Johan Vromans
# Created On      : Fri Jul  9 14:32:34 2010
# Last Modified On: Mon Feb 12 22:11:02 2024
# Update Count    : 282
# Status          : Unknown, Use with caution!

################ Common stuff ################

=head1 NAME

chordpro - A lyrics and chords formatting program

=head1 SYNOPSYS

    chordpro [ options ] file [ file ... ]

=head1 DESCRIPTION

B<chordpro> will read one or more text files containing the lyrics of
one or many songs plus chord information. B<chordpro> will then
generate a photo-ready, professional looking, impress-your-friends
sheet-music suitable for printing on your nearest printer.

When invoked as B<a2crd>, or with first argument B<--a2crd>, the input
will be interpreted as a 'chords over lyrics' file, converted to
ChordPro and written to standard output.

For command line usage summary, use

    chordpro --manual

Visit the web site L<https://chordpro.org> for complete documentation.

=cut

use strict;
use warnings;

use FindBin;
use lib "$FindBin::Bin/../lib";
use ChordPro;
use ChordPro::Paths;
CP->pathprepend( "$FindBin::Bin", "$FindBin::Bin/.." );

run();

################ Subroutines ################

# Synchronous system call. Used in Util module.
sub ::sys { system(@_) }

1;