khampf / g13

libusb driver for the g13
23 stars 15 forks source link

comments in piped commands causes error due to whitespace #12

Closed tmackay closed 4 years ago

tmackay commented 4 years ago

When piping commands including comments (such as the included bindfiles examples) the space preceding the '#' is not trimmed as it is when reading a config file and causes an error. Will submit PR shortly if that helps.

tmackay commented 4 years ago

also appears to remove one too many characters when reading from a config file with comments