[comp.unix.questions] how to use diff files?

dastrout@miavx1.acs.muohio.edu (root@next1) (08/03/90)

This may be a silly question, but how do diff files work?  specifically,
I want to upgrade g++ from 1.37.0 to 1.37.1.  I ftp'ed the diff file, but
can't seem to get it to work.  I tried ( cat fname.diff ; echo w) | ed
but that doesn't go.  I would appreciate the responses, and will send a
summary to be included in the next Freq. Asked Q's.

-- 
Dave Strout
dastrout@miavx1.acs.muohio.edu
dastrout%miavx1.bitnet@pucc.princeton.edu
root@next1.acs.muohio.edu
513-523-8245

dennisg@kgw2.bwi.WEC.COM (Dennis Glatting) (08/10/90)

In article <2044.26b890a2@miavx1.acs.muohio.edu> dastrout@miavx1.acs.muohio.edu (root@next1) writes:
>This may be a silly question, but how do diff files work?  specifically,
>I want to upgrade g++ from 1.37.0 to 1.37.1.  I ftp'ed the diff file, but
>can't seem to get it to work.  I tried ( cat fname.diff ; echo w) | ed
>but that doesn't go.  I would appreciate the responses, and will send a
>summary to be included in the next Freq. Asked Q's.
>

there is a program called "patch".  you can get it from uunet or osu.


From adnan@sgtech.UUCP Fri Dec  1 05:38:51 1989
Path: kgw2!spca6!uccba!tut.cis.ohio-state.edu!usenet.ins.cwru.edu!hal!ncoast!sgtech!adnan
From: adnan@sgtech.UUCP (Adnan Yaqub)
Newsgroups: comp.sources.wanted
Subject: osu-cis Archive [was Re: pathalias]
Summary: Try the osu-cis archive for all your software needs.
Message-ID: <ADNAN.89Dec1103851@sgtech.UUCP>
Date: 1 Dec 89 10:38:51 GMT
References: <5006@quack.UUCP>
Sender: adnan@sgtech.UUCP
Distribution: comp
Organization: Star Gate Technologies, Inc.
Lines: 96
In-reply-to: mrapple@quack.UUCP's message of 29 Nov 89 23:01:43 GMT

In article <5006@quack.UUCP> mrapple@quack.UUCP (Nick Sayer) writes:

   I don't know if this is the proper way to ask, but if it is,
   how can I get a copy of the pathalias program? Thanks in
   advance for any assistance.

[I am doing a followup because the answer may help a lot of people.]

There is an anonymous UUCP archive called osu-cis which has pathalias
along with lots of other stuff (including the GNU software).  Here is
their "how to get" file (edited to save space).  Call them up and grab
your own copy of GNU.how-to-get.  It will tell you how to get
pathalias.  I also recommend looking at their ls-lR.Z file.

-----
-rw-rw-r--  1 karl        28633 Nov 20 08:57 GNU.how-to-get

This file (osu-cis!~/GNU.how-to-get) describes how to get the
following software from osu-cis via semi-anonymous UUCP:

C++ Test Suite	Compress	ET++	GNU /bin Utilities
GNU Assembler GNU Awk	GNU Bash	GNU Bison
GNU C++ Compiler	GNU C++ Library	GNU C Compiler	GNU Chess
GNU DBM	GNU Debugger	GNU Diff	GNU Emacs
GNU Emacs Ada support	GNU Emacs Franz interface
GNU Emacs Lisp Manual	GNU Go	GNU Gperf & Cperf	GNU Grep
GNU Indent	GNU Lex	GNU Make	GNU Pins & Art
GNU Plot & Plot2PS	GNU Sed	GNU Tar	GNUS	Ghostscript	Gnews
Ispell	JOVE	KA9Q	Kermit	Leif	MIT C Scheme	Mg2a	NNTP
News	Oops	PCRRN	Patch	Pathalias	Protoize
Proxy ARP	RCS	RFCs & IDEAS	SB Prolog	STDWIN
Sendmail	Smail	Tcsh	VM

There's a lot of other available miscellany that isn't explicitly
listed here.  You can find out about it in the file osu-cis!~/ls-lR.Z

The Computer and Information Science Department of the Ohio State
University provides Free Software Foundation GNU products (and others)
via UUCP only as a redistribution service.  Anything found here is
only and exactly as it would be found on the indicated Internet hosts,
were one to acquire it via anonymous FTP (like we did); or else saved
it as it flowed past on the Usenet source distribution newsgroups.
OSU CIS takes no responsibility for the contents of any of the
distributions described in this message.  See the Distribution
document (emacs/etc/DISTRIB when you unpack and build Emacs) and the
GNU Emacs General Public License (emacs/etc/COPYING, similarly).

Much of the GNU software is in beta-test.  For a list of the current
statuses (stati?), ask gnu@prep.ai.mit.edu for a copy of the latest
FSF order form.

How to reach osu-cis via uucp
===============================
Here is a set of L.sys or Systems file lines suitable for osu-cis:

#
# Direct Trailblazer
#
osu-cis Any ACU 19200 1-614-292-5112 in:--in:--in: Uanon
#
# Direct V.32 (MNP 4)
#
osu-cis Any ACU 9600 1-614-292-1153 in:--in:--in: Uanon
#
# Micom port selector, at 1200, 2400, or 9600 bps.
# Replace ##'s below with 12, 24, or 96 (both speed and phone number).
# NOTE: 9600 bps Micom access may not yet be operational, or may be flaky.
#
osu-cis Any ACU ##00 1-614-292-31## "" \r\c Name? osu-cis nected \c GO \d\r\d\r\d\r in:--in:--in: Uanon

Modify as appropriate for your site, of course, to deal with your
local telephone system.  There are no limitations concerning the hours
of the day you may call.

We are deeply grateful to Philips Components of Eindhoven, the
Netherlands for the donation of a Trailblazer Plus and a Codex 2264
for use by the community at large.

Where the files are
===================
Most items exist on osu-cis for distribution purposes in compressed
tar form, exactly what you find on the indicated hosts in the
specified origin files.  Most items are cut into pieces for the sake
of uucp sanity.  This separation helps if your uucp session fails
midway through a conversation; you need restart only with the part
that failed, rather than the whole beast.  The pieces are typically
named with a root word, followed by letter pairs like "aa" and "bj,"
meaning that the pieces are all named with the root word, followed by
a dash and the suffixes indicated, using the letters inclusive between
the two limits.  All pieces but the last are 100,000 bytes long, and
the fragmentary last piece has some smaller size.
-----
--
Adnan Yaqub
Star Gate Technologies, 29300 Aurora Rd., Solon, OH, USA, +1 216 349 1860
...cwjcc!ncoast!sgtech!adnan ...uunet!abvax!sgtech!adnan


-- 

--
 dennisg@kgw2.bwi.WEC.COM   | Dennis P. Glatting
 ..!uunet!tron!kgw2!dennisg |