mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-26 01:10:39 +00:00
2 lines
No EOL
290 B
Bash
2 lines
No EOL
290 B
Bash
# https://unix.stackexchange.com/questions/435708/regex-multiline-pattern-and-substitution-replacement
|
|
perl -0777 -i -pe 's/( m3_lightmeter_iap:\n)( git:\n url: "https:\/\/github.com\/vodemn\/m3_lightmeter_iap"\n ref: v\d{1,2}.\d{1,2}.\d{1,2})/$1 path: iap/sg' pubspec.yaml |