On 24/05/20 21:28, Fr. Samuel Springuel wrote: > It’s not quite as straight-forward as you seem to think: > > 1) You haven’t accounted for the possibility of multiple folders with varying > levels of hierarchy. The changed file might be in ../ relative to one file, > ../../ relative to another, ../some/dir/levels relative to a third and other > possible variations. It might also be specified /with/an/absolute/path in > some files. All of that complicates the search string for grep.
This is a real can of worms ... I THINK all paths are relative to where lilypond is running. So any include file that itself contains relative includes is asking for trouble - it's "random" whether those paths will be valid or not... Cheers, Wol