in reply to Re: randomly selecting files
in thread randomly selecting files

Updated: Looks like this is correct, although reading the OP I interpreted it differently.

One world, one people

Replies are listed 'Best First'.
Re^3: randomly selecting files
by blazar (Canon) on Jul 29, 2005 at 11:52 UTC
    He wrote:
    And I want to be able to write a perl script that will randomly select 3 of this files and print the contents of the remainder (i.e. the other 33 files) into one file like this
    It seems to me that he wants an output file for each of the Binomial(36,3)=7140 choices of three files out of 36. I'm not sure where you get this 33! thing from. Maybe I overlooked something.
      Reading the OP I thought he wanted all permutations of the 33 remaining files that did not take part in the selection of three. 36 - 3 is 33

      One world, one people