summaryrefslogtreecommitdiffstats
path: root/filter-gcode
diff options
context:
space:
mode:
Diffstat (limited to 'filter-gcode')
-rwxr-xr-xfilter-gcode6
1 files changed, 6 insertions, 0 deletions
diff --git a/filter-gcode b/filter-gcode
new file mode 100755
index 0000000..e6c4293
--- /dev/null
+++ b/filter-gcode
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+sed -i "$1" \
+ -e '/^M190 S90 ;.*$/d' \
+ -e '/^M104 S220 ;.*$/d' \
+ -e '/^M109 S220 ;.*$/d' \