An alternative approach might be to use one of the standard ABC headers (say N:), and append a
fixed 'favourite' text, eg:
N:favourite
You could then use the %%select directive at the start of your file to pick out all the 'favourites',
eg:
%%select N:.*favourite
.
X:0
T:My Favourite Things
N:favourite
.
X:0
T:My Non-Favourite Things
N:turkey
.
It's a bit limited - %%select is an abctops feature, so you can only export to PDF. I guess it all
depends on exactly what you want to do? I'm currently trying to write a little program which
allows me to select tunes in an ABC file and write them out to a separate ABC file (as far as I
can see, abc2abc doesn't have this feature).
The %%select directive is described in Guido Gonzato's manual...