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

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