parallel/unittest/tests-to-run/test07.sh
Ole Tange 937e204b1e This no longer takes up all memory:
seq 1 1000000000 | parallel very_long_command

Now parallel will not first queue commands but instead run them
immediately.
2008-06-24 15:39:12 +02:00

4 lines
130 B
Bash
Executable file

#!/bin/bash
seq 1 100 | parallel -j0 -qv perl -e '$r=rand(shift);for($f=0;$f<$r;$f++){$a="a"x100};print shift,"\n"' 10000 | sort