Here’s a neat trick about the command line you might not know. You can use curly braces to generate multiple arguments for a command.
This is one of the first projects I completed right after learning to use BASH, AWK and other GNU coreutils. It is a very basic linter type of program for CNC machine code. It is tailored for the specific wireless DNC system I use a Chesterton, so it may or may not be useful for anyone else. This was mostly just an exercise in creating a program. I got some help with the AWK part from a friend and former Linux system administrator.