gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control systemdiff --git a/update-samples-without-macros.sh b/update-samples-without-macros.sh
--- /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