summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-10-03 22:03:03 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-10-03 22:03:03 +0200
commite09ad787000a03db3f1d44d2c989e309c26aabf5 (patch)
treee1c3f8a62def98c417fbc10edcd00f0458b49248
parentfcadb37020a62c96213327873faa68998559cf2a (diff)
downloadbin-e09ad787000a03db3f1d44d2c989e309c26aabf5.tar.gz
bin-e09ad787000a03db3f1d44d2c989e309c26aabf5.tar.xz
add xcpw
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xxcpw6
1 files changed, 6 insertions, 0 deletions
diff --git a/xcpw b/xcpw
new file mode 100755
index 0000000..d737c0e
--- /dev/null
+++ b/xcpw
@@ -0,0 +1,6 @@
+#!/bin/bash
+#
+# get password, clean it up and copy to clipboard
+#
+
+getpw "$@" | cut -d\ -f1 | tr -d "\n" | xclip