Skip to content

Instantly share code, notes, and snippets.

@sween
Created August 2, 2024 11:36
Show Gist options
  • Save sween/5a349e7e42c7bb1988380498c4f8dc1d to your computer and use it in GitHub Desktop.
Save sween/5a349e7e42c7bb1988380498c4f8dc1d to your computer and use it in GitHub Desktop.
read here into var
read -d '' sql << EOF
select c1, c2 from foo
where c1='something'
EOF
echo "$sql"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment