+2003-09-03 Heikki Junes <hjunes@cc.hut.fi>
+
+ * buildscripts/lilypond.words.py: take filename (also) from an arg.
+
2003-09-02 Han-Wen Nienhuys <hanwen@cs.uu.nl>
* Documentation/topdocs/README.texi (Top): clarifications.
import string
import re
+import sys
outlines = []
prekw = '\\\\'
F.close()
# the output file
-out = open('lilypond.words', 'w')
+if sys.argv[1:] == []:
+ out = open('lilypond.words', 'w')
+else:
+ out = open(sys.argv[1], 'w')
# the menu in lilypond-mode.el
for line in [