Write a program which performs brute force letter combination until the word "password" is found The program should print every letter combination (lowercase or uppercase, it doesn't matter) in alphabetic order. It must start with a and the last printed combination should be password.

The output should be:

a b c d e f g h i j k l m n o p q r s t u v w x y z aa ab ac ... passwora passworb passworc password
Perl, 19 chars

say for a..password


Uses newlines as delimiters, per clarification above.  Run with perl -M5.010 (or just perl -E 'say for a..password') to enable the Perl 5.10+ say feature.  Per meta, this doesn't count as extra chars.

(If you insist on spaces as delimiters, $,=$";say a..password is only two chars longer.  However, it's also very slow and wasteful of memory, to the point of being unusable in practice, since it tries to build the entire list in memory before printing it.)