[PATCH v2 48/49] kdump-logger.sh: make it POSIX compatible