in reply to Re^3: all binary combinations
in thread all binary combinations

Thanks FunkyMonk. But since glob is returning the whole list, and my list can be huge, i'm running out of memory. I would much rather have a way that generate one combination at a time where i'd choose whether to save it or not before getting the other combination. Looping would be great as opposed to returning the whole list at once.

Any ideas?

Thanks a lot