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

Home » Public Forums » archive » RE: concatenating files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: concatenating files [message #2904 is a reply to message #2903] Thu, 13 October 1994 07:57 Go to previous messageGo to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
darren@rockvax.rockefeller.edu (Darren Orbach) writes:

> Hi All, Does anyone know an easy way to concatenate several
> files (WAVE programs and functions) into one big file, so that it can
> all be compiled with a single ".run" command?
> Thanks. -Darren Orbach

You don't say which operating system you're using, but in Unix one would simply
say

cat *.pro > bigfile.PRO ;Concatenate
mv bigfile.PRO bigfile.pro ;Rename

I think that one could really do it in one step, namely

cat *.pro > bigfile.pro

and it would simply complain that it wasn't able to copy bigfile.pro onto
itself, but am not sure about all implementations of Unix.

In VMS one would say

COPY *.PRO BIGFILE.PRO

I think in DOS one would also use the COPY command, but would probably have to
be careful about it trying to copy itself onto itself. However, the following
would probably work

COPY *.PRO ..\BIGFILE.PRO

so that BIGFILE.PRO was in a different directory.

Bill Thompson
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: LINUX version of IDL
Next Topic: gridding large amounts of data

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

Current Time: Fri Oct 10 22:33:06 PDT 2025

Total time taken to generate the page: 0.24235 seconds