Don't capture command.
Remove command argument from learned
Add newline between each learned command line