I'd like to keep "/bin/sh" and to not rely on bash features, thus I'll try to find other way for this problem.