From: jjo@triton.com (Jay Olson)
Subject: weirdness with >>
Date: 1995/09/29 [thread overview]
Message-ID: <44hlbp$jbg@watt.electriciti.com> (raw)
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.
reply other threads:[~1995-09-29 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox