for batch compatibility (unix)