Piers, > perl -le'map/^a*.z*$/&print,aaaa..zzzz I like removing the last "'" character. But I think the 2nd "&" is still necessary. Otherwise you just get aaaa..zzzz Any advance on this though? perl -le'map/^a*.z*$/&&print,aaaa..zzzz Alistair __________________________________________________________________________________________ Registered Office: Marks and Spencer plc Michael House, Baker Street, London, W1A 1DN Registered No. 214436 in England and Wales. Telephone (020) 7935 4422 Facsimile (020) 7487 2670 www.marks-and-spencer.com This e-mail is Confidential. If you received it by mistake, please let us know and then delete it from your system; you should not copy, disclose, or distribute its contents to anyone nor act in reliance on this e-mail, as this is prohibited and may be unlawful. ___________________________________________________________________________________________ ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe