4 ms·
I wanted to argue that POSIX didn't define this behavior. But, reading the spec: I agree with you, Bash is non-compliant there. According to POSIX (2016 editi
by LukeShu 9y ago
I wanted to argue that POSIX didn't define this behavior. But, reading the spec: I agree with you, Bash is non-compliant there.
According to POSIX (2016 edition)
date&>F
should be equivalent to
date &
(exec >F)
where in Bash, it's equivalent to
date >F 2>&1