gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] Unpack NIST test programs.


From: Bernard Giroud
Subject: Re: [open-cobol-list] Unpack NIST test programs.
Date: Thu, 02 Feb 2012 12:01:28 +0100
User-agent: Thunderbird 2.0.0.24 (X11/20101027)

john Culleton a écrit :
I have downloaded the file newcob.val.Z
Which contains a suite of COBOL 85 validation programs. Now, on a
linux system, how do I unpack it? It is not a zip file. It is not
an ar archive file. It does not seem to be a cpio file.
Assuming you are in an almost empty directory, where you have only the downloaded file:

- gunzip  newcob.val.Z (or uncompress which is an alias)

It will leave you with the file newcob.val, which is a sort a library sequential text file from which you have to extract all programs. Not so straight forward...

David Essex made a few perl scripts to do that, and run the tests to check the non regression of TC. I still have them in one of my dev dirs. If you need it, I'm sure David will give me the OK to forward it to you (unless he has a more recent version ;-) ).

--
Bernard GIROUD
110, rte des Roguets
FR-74930 PERS-JUSSY
Tel.: +33 4 50 94 43 06
Email: address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]