From 03f19c98e3f8476c5d57dda089033a4973b415d6 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 27 May 2013 16:55:12 +0200 Subject: xcpw: only use first matching line Signed-off-by: Florian Pritz --- xcpw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xcpw') diff --git a/xcpw b/xcpw index d737c0e..cf7fc4a 100755 --- a/xcpw +++ b/xcpw @@ -3,4 +3,4 @@ # get password, clean it up and copy to clipboard # -getpw "$@" | cut -d\ -f1 | tr -d "\n" | xclip +getpw "$@" | head -n 1 | cut -d\ -f1 | tr -d "\n" | xclip -- cgit v1.2.3-24-g4f1b