From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b5d813c667ca2e6a,start X-Google-Attributes: gidfee84,public From: jjo@triton.com (Jay Olson) Subject: weirdness with >> Date: 1995/09/29 Message-ID: <44hlbp$jbg@watt.electriciti.com>#1/1 X-Deja-AN: 116804406 distribution: world organization: Triton Software Group Ltd. reply-to: jjo@triton.com (Jay Olson) newsgroups: comp.unix.osf.osf1 I am having a strange problem using >> in a shell script to append to a file. I have a C program which forks and execs several shell scripts. Each of the shell scripts has a separate log file for it's stderr/stdout. At the end, they cat their log files to the end of a common log file (using cat own_logfile >>common_logfile). It all works fine with a single concurrent shell script, or even a couple. But when several (say 5) are running at the same time, some of the separate log files don't show up in the common log file. cat returns status 0. This is running on OSF/1 version 3.2 on a DEC 3000/300LX. I haven't tried it on other Unix versions. If any one has any cluses as to what might be happening or other ways of doing this, let me know. - Jay Olson Triton Software Group Ltd.