Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
- To: MLUG Members <EMAIL:PROTECTED>
- Subject: Re: [MLUG] a little fun thing...
- From: Mark Rages <EMAIL:PROTECTED>
- Date: Wed, 6 Jul 2005 22:57:29 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NZ7MpUPob/m1J7OG2XXBOGpeDqsU90/ALgbW4aHOVE6rBrlHZ8I0jImgvN4LRQucWXe7g1PqT/ywzff+Uis7oBaeln5V8Mc8vsky/kQ8sbn882eh07ug8ldnXT1Ia/kDloGEf+uMnlR+cPyUpUqcBYrw7+KFyx9mDcxMWKRlR8U=
- In-reply-to: <EMAIL:PROTECTED>
- References: <EMAIL:PROTECTED> <EMAIL:PROTECTED> <EMAIL:PROTECTED> <EMAIL:PROTECTED>
- Reply-to: Mark Rages <EMAIL:PROTECTED>, MLUG Members <EMAIL:PROTECTED>
- Sender: EMAIL:PROTECTED
On 7/6/05, Mike Miller <EMAIL:PROTECTED> wrote:
> I want to be accomodating anyway, so I'll share a perl script that I found
> a few years ago. I call it "perlseq" on my system, but the authors called
> it "seq". It is only 52 lines and less than 1 KB and it is attached to
> this message. It can do both numbers and letters, while ordinary 'seq'
> does only numbers. Ah, nice ... I just found it on the 'net here:
>
> http://alumnus.caltech.edu/~copeland/work/lottery.html
>
> Once you get that running, you can do this...
>
> perlseq 10000000 | perl -pe 's/\n/\r/'
>
> ...or this:
>
> perlseq 100 | perl -pe 's/\n/\r/' | less
>
> What fun! ;-)
>
Or just stick with the Python version:
python -c 'for x in range(100): print x+1,"\r",'
Regards,
Mark
EMAIL:PROTECTED
--
You think that it is a secret, but it never has been one.
- fortune cookie
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members