Greetings All, The utility to flatten nested includes, vastly improved. The moment I posted the initial draft I realised people keep includes in directories other than the current directory. This takes account of that.
Will publish to openlilylib when I make a lilypond wrapper for it similar to
convert-ly.
It is a shell script using guile, not a binary executable. This version depends
on having /usr/bin/guile. Even though it is not wrappered yet, I thought it
would be useful to the OP.
NAME
flatten-ly - flatten lilypond files with nested includes
SYNOPSIS
flatten-ly [OPTIONS]
DESCRIPTION
Utility to copy lilypond files, flattening nested includes. If no
options are given, reads from standard input, writes to standard
output.
OPTIONS:
-i, --input file
Specify input file.
-o, --output file
Specify output file.
-I, --include path
Search path for included files, a colon separated string.
-h, --help
Show usage.
-v, --version
Report version.
Andrew
flatten-ly
Description: Binary data
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
