Description
A script gets executed in interactive mode that has an empty line at the end. When the empty line is executed all commands are printed:
[... correct output before ...]
Available sub-commands for '':
[...]
history - Display or save the history of previously run commands
[...]
version - Show version info
[...]
script - Execute commands from a script file
[...]
clear - Clear the terminal screen
[...]
help - Display help about available commands
[...]
quit - Exit the shell
[...]
I removed my commands to not leak them from the output.
Update: this also happens with an empty line in the middle of the script. The same output appears then the rest of the script gets executed.
Wanted behavior
The empty line should be ignored.
Version
spring boot 4.0.2
spring shell 4.0.1
Linux
Description
A script gets executed in interactive mode that has an empty line at the end. When the empty line is executed all commands are printed:
I removed my commands to not leak them from the output.
Update: this also happens with an empty line in the middle of the script. The same output appears then the rest of the script gets executed.
Wanted behavior
The empty line should be ignored.
Version
spring boot 4.0.2
spring shell 4.0.1
Linux