Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save categulario/48e2ec20de65d68fdab41c1da8c86f33 to your computer and use it in GitHub Desktop.
Save categulario/48e2ec20de65d68fdab41c1da8c86f33 to your computer and use it in GitHub Desktop.
multiline.sh
#!/bin/bash
res=`python -c "
a=1
a+=1
print(a)
"`
echo $res
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment