From 098d3d8417053d104fe851a454264c6b59e52c1b Mon Sep 17 00:00:00 2001 From: Rasmus Steinke Date: Thu, 28 Jul 2016 19:44:27 +0200 Subject: [PATCH] remove strange while loop --- rofi-pass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rofi-pass b/rofi-pass index 1e8d7a3..5efb295 100755 --- a/rofi-pass +++ b/rofi-pass @@ -216,7 +216,7 @@ Type field of entry with Enter. For more help h # generate Array of fields password_temp=$(PASSWORD_STORE_DIR="${root}" pass "$selected_password") 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 while read -r LINE; do _id="${LINE%%: *}"