remove strange while loop
This commit is contained in:
parent
ecc2af0c71
commit
098d3d8417
@ -216,7 +216,7 @@ Type field of entry with <span color='$help_color'>Enter</span>. For more help h
|
|||||||
# generate Array of fields
|
# generate Array of fields
|
||||||
password_temp=$(PASSWORD_STORE_DIR="${root}" pass "$selected_password")
|
password_temp=$(PASSWORD_STORE_DIR="${root}" pass "$selected_password")
|
||||||
password="${password_temp%%$'\n'*}"
|
password="${password_temp%%$'\n'*}"
|
||||||
pass_key_value=$(echo "${password_temp}" | tail -n+2 | grep ': ' | while read line; do echo "${line%%: *}: ${line#* }"; done)
|
pass_key_value=$(echo "${password_temp}" | tail -n+2 | grep ': ')
|
||||||
declare -A stuff
|
declare -A stuff
|
||||||
while read -r LINE; do
|
while read -r LINE; do
|
||||||
_id="${LINE%%: *}"
|
_id="${LINE%%: *}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user