Dec 2025: this repository has moved to GitLab: https://gitlab.com/IanTwenty/ppc.
(P)rint (P)assword (C)haracters. This very small bash script prints the specified characters from a password you enter. Useful for websites and password forms that ask for the Nth character and your password manager does not support that.
Usage: ppc [N]...
Print Nth character(s) from a passwordExample:
> ppc 1 3 5
Password: hello
h l o
>Note the password is hidden when entered, it's shown above just for illustration purposes.
Clone the repo then in that same dir use the ninja build tool to install:
ninjaOr if you don't have ninja:
sudo cp ppc /usr/local/bin/GPL v3.0.