[PATCH 04/11] programs/cmd/tests: added support for multi-line input