I have this existing command:
xcodebuild | tee "$MY_TEMP_FILE_PATH" >> "$MY_LOG_FILE_PATH"
i.e.
stderr -> log file
temp file
normal console output
stdout -> log file
temp file
(no normal console output)
I want to add on OCUnit2JUnit. Their example has this suffix: 2>&1 | ocunit2junit
. However I want to integrate with my existing redirects, so the mapping will be:
stderr -> log file
temp file
normal console output
OCUnit2JUnit
stdout -> log file
temp file
OCUnit2JUnit
(no normal console output)
Is this possible?