summaryrefslogtreecommitdiff
path: root/sh/pme
diff options
context:
space:
mode:
Diffstat (limited to 'sh/pme')
-rwxr-xr-xsh/pme2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/pme b/sh/pme
index a527953..16d1c09 100755
--- a/sh/pme
+++ b/sh/pme
@@ -21,7 +21,7 @@ find "$HOME/.password-store/" \( -type f -o -type l \) -name '*.gpg' \
xargs pass | {
if [ "$user" ]; then
# https://www.gnu.org/software/gawk/manual/html_node/Case_002dsensitivity.html
- awk 'tolower($1) ~ /^(user|username):$/ {printf("%s\t",$2)}'
+ awk 'tolower($1) ~ /^(user|username):$/ {printf $2}'
else
# modified from https://git.zx2c4.com/password-store/tree/contrib/dmenu/passmenu#n34 GPL-2.0-or-later code
IFS= read -r p; printf '%s\r' "$p"