summaryrefslogtreecommitdiffstats
path: root/xcpw
blob: cf7fc4ad62b29b9b0363b964355690b49ff84ab4 (plain)
1
2
3
4
5
6
#!/bin/bash
#
# get password, clean it up and copy to clipboard
#

getpw "$@" | head -n 1 | cut -d\  -f1 | tr -d "\n" | xclip