Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[shed] Fix issues with multiple expressions #102

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

WolfgangDrescher
Copy link
Contributor

This PR fixes an error introduced in 9b16d0a when shed is used with multiple expressions at once:

input.krn

**kern	**kern	**kern
*clefC4	*clefC3	*clefC1
1c	1e	1g
==	==	==
*-	*-	*-

command:

cat input.krn | shed -e "s/^clefC1/clefG2/I s/^clefC3/clefG2/I s/^clefC4/clefG2/I"

output:

**kern	**kern	**kern
*clefC4	*clefC3	*clefG2
1c	1e	1g
==	==	==
*-	*-	*-
**kern	**kern	**kern
*clefC4	*clefG2	*clefG2
1c	1e	1g
==	==	==
*-	*-	*-
**kern	**kern	**kern
*clefG2	*clefG2	*clefG2
1c	1e	1g
==	==	==
*-	*-	*-

@craigsapp craigsapp merged commit 63919fe into craigsapp:master Nov 21, 2024
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants