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 hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?