Files
linuxcncAllWasm/tests/motion-logger/basic/test.sh
2026-08-20 06:17:39 +08:00

13 lines
193 B
Bash
Executable File

#!/bin/bash
rm -f out.motion-logger*
for SRC in *.in; do
DEST=$(basename "${SRC}" .in)
rm -f "${DEST}"
grep -E -v '(^ *$)|(^ *#)' "${SRC}" > "${DEST}"
done
linuxcnc -r test.ini