If I use (display location) in a Scheme function I get an output like:


#<location /home/uliska/git/bfsc/fried/das-trunkne-lied/parts/bassclarinet/02.ily:40:3>


How can I access the content of the location (or better: it's constituents), for example to extract the file name and a part of the path (concretely I'd like to extract "bassclarinet" and "02" from the above example)?


TIA
Urs

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to