Learn › Bash Redirection and File Descriptors
Understand why an early output open can empty a file even when a later redirect prevents the command from starting.