Anyone who has worked with Signed java applets would have been shocked the first time they used the jarsigner. This very sophisticated software which is at the heart of java securty displayes your password as you type it.
Just out of curiosity I decided to see if it will accept piped input as the password with the following command
echo 'password' | jarsigner myjarfile.jar duke
Guess what, it worked! Signing jarfiles can be quite a pain during the development process when you find yourself going through hundreds of builds. Well it seems I no longer have to manually type in the password anymore. That will safe me a few minutes each day :)