-
Notifications
You must be signed in to change notification settings - Fork 1
Bash Shell
sipke edited this page Apr 24, 2024
·
3 revisions
read_properties()
{
file="$1"
while IFS="=" read -r key value; do
case "$key" in
'#'*) ;;
*)
eval "$key=\"$value\""
esac
done < "$file"
}