On Monday, August 16, 2004, at 03:51 AM, Bart Schaefer wrote:
On Sun, 15 Aug 2004, Aaron Davies wrote:On Sunday, August 15, 2004, at 11:03 PM, Philippe Troin wrote:Use your first idiom and check $pipestatus[4].Thanks, that seems to solve it (though it's [3], not [4]).If you have the KSH_ARRAYS option set, it's best to say so when asking for help on this list, or you're going to see a lot of this kind of "mistake."
I'm running this under Bourne sh, as I mentioned in my original request. (Well, technically, I think on this box it's bash, running in sh emulation mode.) I assume this is the default array indexing mode for sh?
-- __ __ / ) / ) /--/ __. .__ ______ / / __. , __o _ _ / (_(_/|_/ (_(_) / (_ (__/_(_/|_\/ <__</_/_)_