abstracted the cleanup of output for escaping double quotes and removing newline chars
abstracted the cleanup of output for escaping double quotes and removing newline chars

afaqurk/linux-dash,afaqurk/linux-dash,afaqurk/linux-dash,afaqurk/linux-dash,afaqurk/linux-dash,afaqurk/linux-dash