what's inadequacy between "&> foo" "> foo 2>&1"?


there seem twin whack idioms redirecting stdout stderr file:



fooscript &> foo


... ...



fooscript > foo 2>&1


what's difference? seems me initial only by-pass second one, nonetheless colleague contends second furnish cost even there's an blunder initial redirect, since initial removed route errors stdout.



edit: okay... seems bargain i am asking, i try clarify:



can anyone give me an instance where twin specific lines lines combined above furnish opposite behavior?



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members