batch-change-examples
batch-change-examples copied to clipboard
Example: Add and remove flags from build files
Change Search: repos with (file: make, expression: -flag1) or (file: Dockerfile, expression: -flag2) Remove -s -w and add -linkmode external
How do I do that without duplicating -linkmode external? The flags will be positioned differently in different files eg. cmd -flag1 -s -flag2 -w cmd -flag1 -flag2 -w -s cmd -flag1 -flag2 -w -s -flag3
Link to user