comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » writing different file to a single file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
writing different file to a single file [message #89109] Thu, 24 July 2014 16:26 Go to next message
abc is currently offline  abc
Messages: 46
Registered: March 2011
Member
Dear Friends,
I have three spectra in three different file (spec1.txt, spec2.txt and spec3.txt). They ranges from 100-200A, 200-300A and 300-400A. Does anybody knows how I can write them in a single file in a right order.

thanks in advance
Re: writing different file to a single file [message #89117 is a reply to message #89109] Fri, 25 July 2014 09:09 Go to previous message
Russell Ryan is currently offline  Russell Ryan
Messages: 122
Registered: May 2012
Senior Member
On Thursday, July 24, 2014 7:26:55 PM UTC-4, idlhelp wrote:
> Dear Friends,
>
> I have three spectra in three different file (spec1.txt, spec2.txt and spec3.txt). They ranges from 100-200A, 200-300A and 300-400A. Does anybody knows how I can write them in a single file in a right order.
>
>
>
> thanks in advance

Are you just concatenating the files? You don't need IDL, you just need the basic linux/unix command:

cat spec1.txt spec2.txt spec3.txt > specall.txt


Russell
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: status of PNG and EPS output from Plot Save method in IDL v8.4?
Next Topic: Organizing arrays

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:36:46 PDT 2025

Total time taken to generate the page: 0.00453 seconds