gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
version 0.81
[asm2wsl.git] / update-samples-without-macros.sh
diff --git a/update-samples-without-macros.sh b/update-samples-without-macros.sh
new file mode 100755 (executable)
index 0000000..b7a5cf3
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/bash
+# copy from samples-with-macros and remove the macros segment in the samples folder
+
+cp samples-with-macros/*.asm samples/
+sed -i \
+ -e '/#macro-commands-start/,/#macro-commands-end/ c ;#macros-removed-from-listing' \
+ -e '/#extra-start/,/#extra-end/ d' \
+ samples/*.asm
\ No newline at end of file
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner