Copy / pasting currently needs command to be defined on a single line, but KARAF-519 makes that unusable.
There's no source command either to execute a script from a file.
Jline behavior problem when pasting long lines
Support of next line with '>' character
Implement the shell:source command
Actually, it may be possible by building the command line using strings and using eval after that:
cmd = "foo"
cmd = "$cmd bar"