• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

ReadmeH A D05-Aug-20023.1 KiB9869

abcselectH A D03-May-20225.8 KiB238152

abcselect.1H A D11-Aug-20023.7 KiB10770

Readme

1abcselect
2---------
3
4abcselect is a small tool for extracting parts, movements
5etc. from files in the abc format of music notation.
6
7It was first named "abc2abc" but that was the name of
8a tool by James Allwrigth as well; thus it is now
9named "abcselect" in analogy to "psselect".
10
11abcselect is copyrighted by Christoph Dalitz and can be
12distributed freely under the GNU GPL.
13
14
15Requirements
16------------
17
18abcselect is a Perl script and requires a Perl version >= 5.0.
19If you are not sure about the version installed on your
20system, check it out with "perl -v".
21
22On Unix systems, Perl is usually shipped with the operating
23system.
24
25On Win32 systems you need to install the Perl interpreter
26first. Depending on your preferences, you can obtain Perl
27for Win32 from two different places:
28
29a) As part of Cygwin (http://sourceware.cygnus.com/cygwin/).
30   Start the installer from the Cygwin website and choose
31   at least "bash" and "perl" in the software selection.
32   Then you can start perl scripts directly from the "bash"
33   shell, which is a much more comfortable command interface
34   than the "DOS shell" that is shipped as "cmd.exe" (with
35   Windows NT/2000/XP) or "command.com" (with Windows 95/98/ME).
36
37b) From Active State (http://www.activestate.com/ActivePerl/).
38   In this case you must invoke perl scripts from the "DOS shell".
39   In order to faciliate this, the Active State Perl distribution
40   contains a program "pl2bat" which puts a DOS-script ("BAT file")
41   wrapper around a Perl script.
42
43Version a) is easier to install and use, but version b) is more
44interesting if you plan to do more with Perl yourself, because
45Active State offers some interesting commercial addons for Perl
46on Win32 and some Perl addons (eg. for manipulating Windows
47Registry entries) might be available only for the Active State
48distribution.
49
50
51Installation
52------------
53
54Unix:
55
561. Adjust the first line in abcselect to the full path
57   of your perl executable.
58   (If you get an error "abcselect: file or directory not found"
59   on the invocation of abcselect, this line is probably not
60   correct.)
61
622. Copy abcselect into a directory in your path (eg. /usr/local/bin)
63   and make it executable (chmod a+x abcselect).
64
653. Copy the man page abcselect.1 into a man page directory
66   (eg. /usr/local/man/man1).
67
68Win32:
69
70If you plan to call abcselect from the bash shell (part of Cygwin),
71you can follow steps 1. and 2. of the Unix installation.
72
73If you are a masochist and insist on using the crappy DOS shell,
74do the following:
75
761. Create a DOS-script "abcselect.bat" with the command
77   "pl2bat abcselect". Note that this only works when you are using
78   the Active State Perl distribution.
79
802. Put that DOS script somewhere in your path
81   (eg. C:\Windows or C:\Winnt)
82
83
84Usage:
85------
86
87"abcselect -?" gives a usage message. If invoked without any
88parameter, abcselect reads from stdin and writes to stdout.
89
90Please consult the man page for details. On Unix, simply type
91"man abcselect", on Windows you can to consult the html version
92of the man page, "abcselect.html".
93
94August 2002
95
96Christoph Dalitz
97<christoph.dalitz@hs-niederrhein.de>
98