[CentOS] Bugs in yum update

Stephen Harris lists at spuddy.org
Tue Jan 13 15:40:50 UTC 2009


On Tue, Jan 13, 2009 at 10:36:03AM -0500, William L. Maltby wrote:
> When you redirected stderr, with 2>&1 (btw, &> is shorthand for that)

&> is a csh-ism and also in bash.  It's not correct in other sh-like shells,
so don't use it if you want to do portable programming.  In particular
don't use it in profile.d  (Fedora 10, I'm looking at you!) ecause people
using ksh (for example) as their shell will get errors.


-- 

rgds
Stephen


More information about the CentOS mailing list