[vox-tech] combining data files

Danny Webster vox-tech@lists.lugod.org
Fri, 30 May 2003 14:02:01 -0700


The paste command might be just what you need.  It is invoked in this
manner: paste file1 file2

Danny

----- Original Message -----
From: "Alexandra Thorn" <amthorn@ucdavis.edu>
To: <vox-tech@lists.lugod.org>
Sent: Friday, May 30, 2003 12:53 PM
Subject: [vox-tech] combining data files


>
> Been playing with ploticus prefabs, which I agree are pretty cute.  Here's
> the issue that I'd like to handle now: the output from different runs of
> my simulation are in separate files.  I'd like to be able to present the
> outputs on a single graph.  I vaguely remember that there might be some
> manner of bash command that would relatively easily combine data files in
> such a way that the data from the two files are included as separate
> columns (rather than by increasing the number of lines as would be done
> by, say cat).  Does such a command exist?  I'd like to know if there's an
> easy way to do this before I start trying to do clever things with loops
> and "read," or writing a C program for this purpose.
>
> Thanks again,
> Alex
>
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>