[comp.sys.ibm.pc.misc] unshelling GNU Plot

sterling@uwovax.uwo.ca (09/24/90)

I have obtained the files for GNU Plot, but am unable to use them since they
need to be 'shelled'. I'm not sure what is required to do this. The files are
ASCII text, and the source code is there, but throughout the files are some
kind of script commands. What do I need to decode this stuff? I am using
an IBM model 50 with MSDOS 3.3. 

Thank you in advance
	Sterling.



-- 
Sterling Gunn                 |   "A (person)'s character is (their) fate."
1013_4111@UWOVAX.UWO.CA       |    Socrates?         
Dept. of Applied Mathematics  |          
University of Western Ontario |          
London, Ontario               |       
Canada                        |   
______________________________|   

mcoffey@aix.aix.kingston.ibm.com (Michael Coffey) (09/25/90)

In article <7101.26fcbe11@uwovax.uwo.ca>, sterling@uwovax.uwo.ca writes:
> Path:
aix!ibmps2!uunet!mailrus!news-server.csri.toronto.edu!utgpu!watserv1!ria
!uwovax!sterling
> From: sterling@uwovax.uwo.ca
> Newsgroups: comp.sys.ibm.pc.misc
> Subject: unshelling GNU Plot
> Message-ID: <7101.26fcbe11@uwovax.uwo.ca>
> Date: 23 Sep 90 17:52:16 GMT
> Lines: 19
> 
> I have obtained the files for GNU Plot, but am unable to use them since they
> need to be 'shelled'. I'm not sure what is required to do this. The files are
> ASCII text, and the source code is there, but throughout the files are some
> kind of script commands. What do I need to decode this stuff? I am using
> an IBM model 50 with MSDOS 3.3. 
> 
> Thank you in advance
> 	Sterling.
> 
> 
It sounds like you have a shell archeive file. You need a UNIX system
with a bourne shell. You execute the archeive file by entering the
command: sh filename

You could do this on MS-DOS if you can get a bourne or korn shell for
that operating system. I know MKS sells a korn shell for MS-DOS, that
should do the job for you.  Failing that, you could edit the file,
deleting the junk at the beginning of each line, and breaking the file
into multiple files by hand (not fun, but can be done).

...Mike


Michael Coffey: AIX Kernel Development       All the ways of a man are clean in
     VNET: mcoffey@kgnaix                    his own sight, but the Lord weighs
     UUCP: uunet!ibmps2!aix!mcoffey          the motives.  --Proverbs 16:2--  
All comments are mine, and do not reflect official IBM positions.

roy%cybrspc@cs.umn.edu (Roy M. Silvernail) (09/27/90)

mcoffey@aix.aix.kingston.ibm.com (Michael Coffey) writes:

> In article <7101.26fcbe11@uwovax.uwo.ca>, sterling@uwovax.uwo.ca writes:
> > From: sterling@uwovax.uwo.ca
> > Subject: unshelling GNU Plot
> > 
> > I have obtained the files for GNU Plot, but am unable to use them since the
> > need to be 'shelled'. I'm not sure what is required to do this.
> > 
> It sounds like you have a shell archeive file. You need a UNIX system
> with a bourne shell. You execute the archeive file by entering the
> command: sh filename
> 
> You could do this on MS-DOS if you can get a bourne or korn shell for
> that operating system.

The ms_sh posted to c.b.i.p recently, along with the set of utilities
that accompanied it, should do fine at breaking up shell archives. I do
this quite often. Possible hangups may be if the sh archive uses chmod
to verify that a file has been written. In some cases, the shar will
call chmod with octal permissions, and some DOS chmod's only accept
symbolic permissions. There may also be conflicts of syntax with 'test'.
You'll also need to aquire a version of sed. (I think there's one on
SIMTEL)
--
Roy M. Silvernail |+|  roy%cybrspc@cs.umn.edu  |+| #define opinions ALL_MINE;
main(){float x=1;x=x/50;printf("It's only $%.2f, but it's my $%.2f!\n",x,x);}
"This is cyberspace." -- Peter da Silva  :--:  "...and I like it here!" -- me