Re: Bugs in yum update

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



On Tue, 2009-01-13 at 10:40 -0500, Stephen Harris wrote:
> 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.

On top of that, I inadvertently ignored the fact that stdout was being
piped. In that case the "shorthand" does not do what is wanted. It is
really only appropriate when sending the two outputs to a file.

-- 
Bill

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux