writing different file to a single file [message #89109] |
Thu, 24 July 2014 16:26  |
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  |
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
|
|
|