From 90b24b389aa452fd089237599e6036cbf518a26c Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 13 Jun 2021 17:11:38 +0100 Subject: [PATCH] Finish enpass command --- .local/bin/enp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.local/bin/enp b/.local/bin/enp index ce7cafc..5b1a89a 100755 --- a/.local/bin/enp +++ b/.local/bin/enp @@ -40,5 +40,6 @@ linenumber="$((chosen + 1))" line="$(echo "$choices" | sed "${linenumber}q;d")" -echo $line | sed -n -e 's/.*? pass : (.*)+$/\\1/p' +# echo $line +echo $line | sed -n 's/.*\? pass : \(.\+\?\)"$/\1/p' | xclip -selection clipboard -i -loops 1