Last active
April 30, 2021 20:56
-
-
Save vovs03/de900ded43495e29d3716918898c67f2 to your computer and use it in GitHub Desktop.
Решено: Вывод значения переменной из строки (bash интерполяция)
This file contains 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 | |
# file into directory was set as executable | |
##### $ sudo chmod +x ver.sh | |
app_ver="0.0.1" | |
app_name="Test_App_from_bash" | |
clear | |
echo "App version: $app_ver App: $app_name" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Пробовал кавычки разные ставить (не вариант) (MacOs)
Ubuntu - ok!
http://tpcg.io/yb5Nhz2k