[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: keeping tar quiet in script




What about the classical "1> /dev/null 2>&1"?
This probably has identical behavior identical to &> /dev/null, but is longer to type.
&>/dev/null seems less portable. Here I have bash and dash, and &>/dev/null does not work under dash. "1> /dev/null 2>&1" works everywhere.
 
--
Software is like sex: it is better when it is free.
Reply to: