Two if statement - Is this really needed? I guess -o is not used in conjunction with -e for compatibility reasons?