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