In <[email protected]>, on
04/10/2013
at 08:27 AM, Paul Gilmartin <[email protected]> said:
>On Wed, 10 Apr 2013 08:52:55 -0400, Shmuel Metz (Seymour J.) wrote:
>>>>on 04/07/2013 at 04:57 PM, Sam Siegel said:
>>>>
>>>>>diff3 allows a 3 way merge between the original source and 2
>>>>>different updates to the original source.
>>>>
>>>>No; it merges two updates.
>>>>
>>>ksh:1+ man diff3
>>>Reformatting page. Please Wait... done
>>> ...
>>>NAME
>>> diff3 - 3-way differential file comparison
>>>SYNOPSIS
>>> diff3 [-exEX3] filename1 filename2 filename3
>>>DESCRIPTION
>>> diff3 compares three versions of a file. It publishes
>>> disagreeing ranges of text flagged with the following codes:
>>> ...
>>> The following command applies the resulting script to
>>> filename1.
>>
>>> (cat script; echo '1,$p') | ed - filename1
>>
>>Confirming what I wrote.
>>
>All except the "No;" part.
ESPECIALLY the no part; it outputs disagreeing ranges of text, not an
updated source file. Were that not the case, the man file would not be
showing an example of piping the output to ed.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
Atid/2 <http://patriot.net/~shmuel>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN