diff options
author | yubiuser <ckoenig@posteo.de> | 2022-04-05 00:14:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-05 00:14:10 +0300 |
commit | 9b4f6c84cd770d333bca1579a8494472bfe5fa62 (patch) | |
tree | 77ca3312033d9216556da9883b57ec4d63c1633a | |
parent | 4d31d5ee1148f1de8e8608a7bf0fed255136a6e1 (diff) |
Minor review comments
-rwxr-xr-x | advanced/Scripts/utils.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/advanced/Scripts/utils.sh b/advanced/Scripts/utils.sh index 9d80e446..f457427f 100755 --- a/advanced/Scripts/utils.sh +++ b/advanced/Scripts/utils.sh @@ -34,7 +34,7 @@ addOrEditKeyValPair() { local value="${3}" if [ "${value}" != "" ]; then - # value has a value, so it is a key pair + # value has a value, so it is a key-value pair if grep -q "^${key}=" "${file}"; then # Key already exists in file, modify the value sed -i "/^${key}=/c\\${key}=${value}" "${file}" @@ -52,7 +52,7 @@ addOrEditKeyValPair() { } ####################### -# Takes two arguments key, and file. +# Takes two arguments file, and key. # Deletes a key from target file # # Example usage: |