> On Thu, Dec 13, 2001 at 02:29:14PM +0100, Kim Schulz wrote:
> > How short kan you make a program (oneliner?) that:
> >
> > * checks if a password is 5 characters long or more
> > * checks if the password contains at least 3 alpha chars (a-zA-Z)
> > * checks if the password contains at least 2 numbers (0-9)
>
> Well, the first condition is redundant. :-)

No it's not.  There are situations where one of those can be true and
the others aren't.

--
 -Ryan :: ICQ - 595003 :: GigaBoard - http://www.gigaboard.net/


Reply via email to