sfztools/sfizz

Space at beginning confuses command-line interpreter of standalone JACK client

Opened this issue · 0 comments

acli commented

In the standalone JACK client, if a command is preceded by a space, the interpreter ignores the command without showing any error message.

Example:

[...]
        Curves: 7
        PreloadedSamples: 351
===========================
Unknown opcodes:

> help
ERROR: Unknown command 'help'!

>  help

>       help
ERROR: Unknown command '        help'!

> 

Only U+0020 seems to cause this problem, not any other whitespace. In the above example, the interpreter shows an error message for “help” (no space), no error for “ help” (preceded by a space), and an error for “ help” (preceded by a tab).