I have a java command line application written using Picocli, and I am trying to pass to it a string parameter, but every time I try the bash strips the quotes and I end with three parameters.
javaCLI install "Extras lib v0.1.4.cpkg"
This is the output I receive in bash
positional parameter at index 0..* (package_file) should be specified only once
Usage: javaCLI install package_file
I tried using escape single (\') and double quotes (\"), escape spaces (\ ), even both single and double quotes (with and without ) but none of them work. The easy solution is to rename the package to extras_lib_v0.1.4.cpkg but I will have the same problem with other methods.