HP3000-L Archives

October 2005, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Roy Brown <[log in to unmask]>
Reply To:
Roy Brown <[log in to unmask]>
Date:
Wed, 19 Oct 2005 10:14:32 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
In message <43561FDD.10391.70A35604@localhost>, James B. Byrne 
<[log in to unmask]> writes
>Is there a way, using file equations and MPE utilities, to
>concatenate several temporary files into one?  In linux, and
>presumably the MPE Posix shell, this is commonly done via cat.
>However there is no concept of a temporary file within the posix
>HFS so that cat will not operate on MPE temporary files.
>
>I have tried :file pfile;acc=append :print temp1;out=*pfile etc.
>and copy temp1, *pfile but subsequent print calls fail while copy
>asks to purge the existing file.
>
>Is there a way to do this short of writing a custom CI command
>script?
>
>Regards,
>Jim

Try:

print temp1>pfile
print temp2>>pfile
print temp3>>pfile

etc.

 >> to append, after the first > that creates the target pfile.

You do not even need the file equate for pfile.

ATB

Roy
-- 
Roy Brown        'Have nothing in your houses that you do not know to be
Kelmscott Ltd     useful, or believe to be beautiful'  William Morris

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2