Created
February 25, 2022 02:25
-
-
Save otamajakusi/3a9a872b5ccf00df37adb4b6ddae2b42 to your computer and use it in GitHub Desktop.
bash scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
################ | |
function get_source(){ | |
source <(echo xxx=yyy) | |
} | |
get_source | |
echo $xxx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment