bugfix: unroll the bash for-loop in Perl
documentation for 2.2 updated using make_docs.pl