Neat, I have the following in my `.bashrc` to accomplish pretty much the same thing.  It should be noted that I do not use it for passwords (I have a password safe for that), but I do use it for passphrases since I may have to read them over the phone.<p><pre><code>    secret () {
        # &#x27;\u&#x27; for `sed` is a GNU extension.
        shuf &#x2F;usr&#x2F;share&#x2F;dict&#x2F;words \
            | grep &#x27;^[A-Za-z]\+$&#x27; \
            | head -n 3 \
            | sed -e &#x27;s|\(.\)\(.*\)|\u\1\2|g&#x27; \
            | tr -d &#x27;\n&#x27; \
            | sed -e &#x27;s|$|\n|g&#x27;
    }

    &gt; for _ in `seq 7`; do secret; done
    InterweaveMakariosEncrusting
    DisseminatingAgriculturalistCautioned
    EffectuatingCobblersEgos
    AccidentalKopeckRevolts
    RefDivansUndersigns
    SalesmanSubmitterFlak
    TempsIlluminedQuickening</code></pre>