diff options
author | Denis Kasak <dkasak@termina.org.uk> | 2017-07-14 18:35:43 +0200 |
---|---|---|
committer | Denis Kasak <dkasak@termina.org.uk> | 2017-07-14 22:56:11 +0200 |
commit | b49b409187f53fa200922199c90fecd29240ec5e (patch) | |
tree | e2f1a1d5a21c5ee34641ecacb322b953b920e05f | |
parent | b9b8a57cf02f4373ad9e1107b1bbd14409db1900 (diff) | |
download | rofi-pass-b49b409187f53fa200922199c90fecd29240ec5e.tar.gz |
Specify -r to read to handle backslashes properly.
-rwxr-xr-x | rofi-pass | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ list_passwords() { cd "${root}" || exit find -L . -iname '*.gpg' -printf '%P\n' | \ - while read filename; do + while read -r filename; do echo "${filename%.gpg}" done } |