Generate file with n random integers using bagh
Here is an useful bash script that generates a number of random integers into a file. I use it every time I need to test or to measure the execution time of a function or an algorithm over integers (for example sorting algorithms):
blog comments powered by Disqus