Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* weirdness with >>
@ 1995-09-29  4:00 Jay Olson
  0 siblings, 0 replies; only message in thread
From: Jay Olson @ 1995-09-29  4:00 UTC (permalink / 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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-09-29  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-09-29  4:00 weirdness with >> Jay Olson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox