Tuesday, July 19, 2005

Improved random command, by Richard Frankel

Richard has made an improvement to the random command, allowing you to specify the min, the max, and how many numbers to generate.

Examples:
Richard's command is especially cool because you can combine it with other commands. For example, we can type fspell {random 10000} to generate a series of Flickr images, one for each digit of a random number from 1 to 10000, using Eric Kastner's fspell command.

And continuing our Penny Arcade example, you can get a random Penny Arcade comic from the last 365 days by typing in:
Neat!

2 Comments:

Blogger incomm said...

how about a random weather forecast?

> w {random -min 60600 -max 92199}

Not really useful, but shows the power of YubNub and pipes! Amazing concept, I am excited to see where it all ends up.

- Wired Dude

p.s. the above example only works if a real zipcode comes up...

7/19/2005 9:25 p.m.  
Blogger Jonathan said...

Clever!

7/19/2005 11:12 p.m.  

Post a Comment

<< Home