niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Not Unix » VMS » de
Diff/SLP EDIT/SUM Frage (Was fuer Informatiker!)
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
Eberhard Heuser-Hofmann
*nix forums addict


Joined: 07 Jul 2005
Posts: 67

PostPosted: Fri Mar 03, 2006 10:40 am    Post subject: Re: Summary: Diff/SLP EDIT/SUM Frage (Was fuer Informatiker!) Reply with quote

In article <44060409$0$1605$9b622d9e@news.freenet.de>, mw
<mw40171@mucweb.de> writes:
Quote:
Eberhard Heuser-Hofmann wrote:
In article <43ce4bf2$1@merkur.rz.uni-konstanz.de>,
vaxinf@chclu.chemie.uni-konstanz.de (Eberhard Heuser-Hofmann) writes:

Hallo,

Ich habe eine prizipielle Frage zum source code patchen unter VMS:

Ich erhalte eine Text A und verändere diesen zum Sourcecode B.
Nun gibt jemand eine neue Version von A heraus, also A'.
Ich will nun in A' die Korrekturen einflicken, die ich in den
Quelltext A eingebaut habe.

A => B
A=>A'
A'=>B' wie????

Wie muss ich vorgehen?

Vielen Dank
Eberhard


Das scheint zu gehen:

alter master: a.1
Meine Änderungen: b.1
neuer master c.1

$ diff/slp a.1 b.1
$ copy a.dif c.upd
$ edit/sum c.1/update
=> c.1;2
Vielen Dank für die Tipps, die mich per email direkt erreichten!

eberhard

$ type merge.com
$! use edit/sum to merge 2 changes into one
$! p1 orig, p2 first update, p3 last update
$! output is in f$parse(p1,,,"name").merged
$
$ if p3 .eqs. ""
$ then
$ write sys$output "usage: @merge.com <orig_file> <branch_one
branch_two>"
$ exit
$ endif
$
$ diff/slp 'p1 'p2 /out=sys$scratch:first.upd
$ diff/slp 'p1 'p3 /out=sys$scratch:second.upd
$ edito/sum 'p1
/update=(sys$scratch:first.upd,second.upd)/list/out=.merged
$ delete sys$scratch:first.upd;,second.upd;
$ write sys$output "merged into ", f$parse(p1,,,"name"), ".MERGED
$


Vielen Dank

Vorschlag: Das sollte man bei dcl.openvms.org eintragen

eberhard
Back to top
mw
*nix forums beginner


Joined: 29 Mar 2005
Posts: 7

PostPosted: Wed Mar 01, 2006 8:35 pm    Post subject: Re: Summary: Diff/SLP EDIT/SUM Frage (Was fuer Informatiker!) Reply with quote

Eberhard Heuser-Hofmann wrote:
Quote:
In article <43ce4bf2$1@merkur.rz.uni-konstanz.de>,
vaxinf@chclu.chemie.uni-konstanz.de (Eberhard Heuser-Hofmann) writes:

Hallo,

Ich habe eine prizipielle Frage zum source code patchen unter VMS:

Ich erhalte eine Text A und verändere diesen zum Sourcecode B.
Nun gibt jemand eine neue Version von A heraus, also A'.
Ich will nun in A' die Korrekturen einflicken, die ich in den
Quelltext A eingebaut habe.

A => B
A=>A'
A'=>B' wie????

Wie muss ich vorgehen?

Vielen Dank
Eberhard


Das scheint zu gehen:

alter master: a.1
Meine Änderungen: b.1
neuer master c.1

$ diff/slp a.1 b.1
$ copy a.dif c.upd
$ edit/sum c.1/update
=> c.1;2
Vielen Dank für die Tipps, die mich per email direkt erreichten!

eberhard

$ type merge.com
$! use edit/sum to merge 2 changes into one
$! p1 orig, p2 first update, p3 last update
$! output is in f$parse(p1,,,"name").merged
$
$ if p3 .eqs. ""
$ then
$ write sys$output "usage: @merge.com <orig_file> <branch_one>
<branch_two>"
$ exit
$ endif
$
$ diff/slp 'p1 'p2 /out=sys$scratch:first.upd
$ diff/slp 'p1 'p3 /out=sys$scratch:second.upd
$ edito/sum 'p1 /update=(sys$scratch:first.upd,second.upd)/list/out=.merged
$ delete sys$scratch:first.upd;,second.upd;
$ write sys$output "merged into ", f$parse(p1,,,"name"), ".MERGED
$
Back to top
Eberhard Heuser-Hofmann
*nix forums addict


Joined: 07 Jul 2005
Posts: 67

PostPosted: Fri Jan 20, 2006 10:13 am    Post subject: Summary: Diff/SLP EDIT/SUM Frage (Was fuer Informatiker!) Reply with quote

In article <43ce4bf2$1@merkur.rz.uni-konstanz.de>,
vaxinf@chclu.chemie.uni-konstanz.de (Eberhard Heuser-Hofmann) writes:
Quote:

Hallo,

Ich habe eine prizipielle Frage zum source code patchen unter VMS:

Ich erhalte eine Text A und verändere diesen zum Sourcecode B.
Nun gibt jemand eine neue Version von A heraus, also A'.
Ich will nun in A' die Korrekturen einflicken, die ich in den
Quelltext A eingebaut habe.

A => B
A=>A'
A'=>B' wie????

Wie muss ich vorgehen?

Vielen Dank
Eberhard

Das scheint zu gehen:


alter master: a.1
Meine Änderungen: b.1
neuer master c.1

$ diff/slp a.1 b.1
$ copy a.dif c.upd
$ edit/sum c.1/update
=> c.1;2
Vielen Dank für die Tipps, die mich per email direkt erreichten!

eberhard
Back to top
Michael Kraemer
*nix forums Guru Wannabe


Joined: 28 Feb 2005
Posts: 220

PostPosted: Wed Jan 18, 2006 5:23 pm    Post subject: Re: Diff/SLP EDIT/SUM Frage (Was fuer Informatiker!) Reply with quote

In article <43ce4bf2$1@merkur.rz.uni-konstanz.de>,
vaxinf@chclu.chemie.uni-konstanz.de (Eberhard Heuser-Hofmann) writes:
Quote:

Hallo,

Ich habe eine prizipielle Frage zum source code patchen unter VMS:

Ich erhalte eine Text A und verändere diesen zum Sourcecode B.
Nun gibt jemand eine neue Version von A heraus, also A'.
Ich will nun in A' die Korrekturen einflicken, die ich in den
Quelltext A eingebaut habe.

A => B
A=>A'
A'=>B' wie????

Wie muss ich vorgehen?


ist das nicht eine klassische Aufgabe fuer Sourcecode Kontrollsysteme
vom Schlage CVS, Subversion oder CMS ?
Back to top
Eberhard Heuser-Hofmann
*nix forums addict


Joined: 07 Jul 2005
Posts: 67

PostPosted: Wed Jan 18, 2006 2:08 pm    Post subject: Diff/SLP EDIT/SUM Frage (Was fuer Informatiker!) Reply with quote

Hallo,

Ich habe eine prizipielle Frage zum source code patchen unter VMS:

Ich erhalte eine Text A und verändere diesen zum Sourcecode B.
Nun gibt jemand eine neue Version von A heraus, also A'.
Ich will nun in A' die Korrekturen einflicken, die ich in den
Quelltext A eingebaut habe.

A => B
A=>A'
A'=>B' wie????

Wie muss ich vorgehen?

Vielen Dank
Eberhard
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Tue Jan 06, 2009 10:26 pm | All times are GMT
navigation Forum index » Not Unix » VMS » de
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Using Visual Slick Edit for Python Brian Buderman python 3 Tue Jul 18, 2006 2:31 pm
No new posts PHP to edit files Coyoteboy PHP 4 Tue Jul 18, 2006 2:07 pm
No new posts Text::Diff usage question Ronald Fischer modules 3 Mon Jul 17, 2006 1:15 pm
No new posts diff connect from localhost.localdomain[127.0.0.1] vs. co... Larry Vaden Postfix 5 Sun Jul 16, 2006 4:49 am
No new posts how to edit a batch file king Perl 4 Fri Jul 14, 2006 1:56 pm

Bad Credit Loans | Credit Cards | Bankruptcy | Notebook Deals | Problem Mortgage
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2416s ][ Queries: 20 (0.1248s) ][ GZIP on - Debug on ]