summaryrefslogtreecommitdiff
path: root/tests/mdi-queue/subs/M100
blob: 7361fba73402ba9750f83863913500fc38f586a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
#
# This script (M100) is called to append an integer to a log file,
# for testing purposes
#
# Put this in your .ini to use:
#
#     [RS274NGC]USER_M_PATH = ./subs
#

TEST_DIR=$(dirname INI_FILE_NAME)
OUT_FILE=$TEST_DIR/gcode-output

P=$1

echo P is $P >> $OUT_FILE