]> Nishi Git Mirror - gwion.git/commitdiff
:art: Improve sed command
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Fri, 3 Apr 2020 14:51:25 +0000 (16:51 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Fri, 3 Apr 2020 14:51:25 +0000 (16:51 +0200)
scripts/mdr2mdbook.sh

index 014f9620659e9f9bfac33d92054cef27faf9fdcd..cc47c1d008c2b45ab077a6abd6acc13de0242d46 100644 (file)
@@ -11,7 +11,7 @@ EOF
 }
 
 mk_target() {
-  sed 's/```\(.*\)gw/```cpp/' $1 |
+  sed 's/```.*gw/```cpp/' $1 |
     sed 's#:gwion:#[Gwion](https://github.com/fennecdjay/Gwion)#g'
   footer
 }