📜  bash 从文件中读取选项 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:17.981000             🧑  作者: Mango

代码示例1
#! /bin/bash

# Optionally, set default values
# var1="default value for var1"
# var1="default value for var2"

. /path/to/some.config

echo "$var1" "$var2"