[Date Prev][Date Next][Thread Prev][Thread Next]
[Search]
[Date Index]
[Thread Index]
Golf Shell (was Re: [FWP] string increment
- To: "fwp@technofile.org" <fwp@technofile.org>
- Subject: Golf Shell (was Re: [FWP] string increment
- From: "David L. Nicol" <david@kasey.umkc.edu>
- Date: Mon, 08 May 2000 16:52:28 -0500
- Organization: University of Missouri - Kansas City network operations
- References: <m1u2gnafco.fsf@rt158.private.realtime.co.uk> <Pine.LNX.4.10.10004270826130.26125-100000@decpc.dagon.net> <20000427113958.F1010293@linguist.dartmouth.edu>
> > Why bother quoting the code?
> >
> > perl -lemap/^a*.z*$/\&print,aaaa..zzzz
> >
> > is just fine unless you run it from a very oddly named directory
> > structure or a shell with different metacharacters than bash.
for what it is worth, I give you "Golf Shell":
perl -ne '$\="\n";eval $_;undef$\;print "gosh> "'
==== Want to unsubscribe from Fun With Perl? Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
==== unsubscribe