Ah-so! COMPLETE="$(awk '/EndSection/{print}'<<EOF $MONITOR EOF)" instead of: COMPLETE="$(awk '/EndSection/{print}'<<EOF $MONITOR EOF)" And it works now for me. You can patch it in PKGBUILD too. Hope this helps. Best Regards, Laszlo Papp