I have written a query:
function print_ui_hosts { local sql = \"select .........\" print_sql \"$ sql\" }
local sql - a very long string. Qu
Use read with a heredoc as shown below:
read
read -d '' sql << EOF select c1, c2 from foo where c1='something' EOF echo "$sql"