to add (maybe something important):
when I execude my script test, where the command bg %2 is written into, I get back following :
bash: bg: %2: no such job
maybe the variable %2 has to be ecaped?
I tried it also with \%2, but this doesn't seem to make a difference...
