Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!sri-unix!ctnews!pyramid!uccba!hal!ncoast!robertd From: robertd@ncoast.UUCP Newsgroups: comp.sources.d,comp.sources.wanted Subject: Re: A Quick "How-To" Message-ID: <4945@ncoast.UUCP> Date: Tue, 27-Oct-87 15:44:09 EST Article-I.D.: ncoast.4945 Posted: Tue Oct 27 15:44:09 1987 Date-Received: Sat, 31-Oct-87 04:30:33 EST References: <787@uokmax.UUCP> Reply-To: robertd@ncoast.UUCP (Rob DeMarco) Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 34 Keywords: sh, sources Xref: utgpu comp.sources.d:1355 comp.sources.wanted:2328 In article <787@uokmax.UUCP> rjray@uokmax.UUCP (Randy J Ray) writes: >I have a few questions here, and I am sure you folks can be quick to >help me . . . > >How do you create these source files? I have dissolved and compiled a >few, and marvel at the efficiency of putting several files in one like >this. I have, in my curiousity, looked up the "sh" command in all the >manuals I could find, including the online man. I have not yet found any >directions on combining the separate files into larger ones. Any hints? > >Randy > >rjray@uokmax.uucp I use a program called "cshar". It may be available on your system. With cshar, you simply type [$%] cshar main.c file.c xo.sh > system This would take main.c , file.c, and xo.sh and combine these files to a shell script and put it to standard output. The redirection was used to place the "archived" files into one file. Now it is easy to simply run "system". The shell script will take all the files you "archived" and put them into that directory. [> Rd -- North Coast Computer Resources(ncoast) - 216-781-6201 (or 781-6202) UUCP:decvax!mandrill!ncoast!robertd