Skip to content

How to hide barlines #790

Answered by craigsapp
WolfgangDrescher asked this question in Q&A
Discussion options

You must be logged in to vote

The complication is that you should not specify = in the regular expression. When using the B flag, it is assumed that the first character in the token is =, and it is excluded from the regular expression. So removing the initial barline marker from the regular expressions should work.

The reason why the first character of a barline (or interpretation) cannot be in the regular expression is because of cases like this:

shed -e "s/=10/*/"

That would convert measure 10 into a null interpretation. Maybe someone would want do that, but I won't allow it until there is a good excuse to be able to do it. (note there is a somewhat reasonable case: you can return a barline = which is an implied me…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@WolfgangDrescher
Comment options

Answer selected by WolfgangDrescher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants