bug-bash
[Top][All Lists]
Advanced

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

Redirection and old version of bash


From: Gerard Seibert
Subject: Redirection and old version of bash
Date: Thu, 9 Dec 2010 17:58:09 -0500

I have a script that I wrote and use successfully on FreeBSD with bash
version 4.1.9(0)-release (amd64-portbld-freebsd8.1). The script uses a
redirection "2>/dev/null" in several places. For some reason, that
does not seem to be working correctly under an old version of bash;
i.e. GNU bash, version 2.05.0(1)-release (sparc-sun-solaris2.9).

Specifically, this was occurring with rsync displaying messages of the
day, etc. This only happens under this version of Bash and apparently
only under Solaris.

I have managed to circumvent the problem; however, I was just
interested in knowing if anyone had heard of this before.

-- 
Gerard ✌
address@hidden

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__________________________________________________________________
Old MacDonald had an agricultural real estate tax abatement.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]