-
Notifications
You must be signed in to change notification settings - Fork 66
/
qs-52c.htm
38 lines (38 loc) · 1.84 KB
/
qs-52c.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content=
"Copyright (c) IBM Corporation and others 2000, 2013. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css">
<title>Simple compare</title>
</head>
<body bgcolor="#FFFFFF">
<h1>Simple compare</h1>
<p class="Head">In one of the navigation views select file1.txt and file2.txt choose <b>Compare With > Each
Other</b> from the context menu.</p>
<p class="Head">A dialog will appear indicating that the two files are the same.</p>
<p class="Head">Edit file1.txt as follows:</p>
<ul>
<li>delete line 1 "<i>This is line 1."</i></li>
<li>change line 3 to be "This is a much better line 3."</li>
<li>insert a line 4a (before line 5) that reads "This is line 4a and it is new"</li>
</ul>
<p class="Head">The file (file1.txt) should now read as follows:</p>
<blockquote>
<p><i>This is line 2.<br>
This is a much better line 3.<br>
This is line 4.<br>
This is line 4a and it is new<br>
This is line 5.</i></p>
</blockquote>
<p>Save the contents of the file by choosing <b>File > Save</b> (or pressing Ctrl+S).</p>
<p>To compare the files, once again select file1.txt and file2.txt and choose <b>Compare With > Each Other</b> in
the navigation view context menu.</p>
<p>A special compare editor opens. The next section will explain how to use this compare editor.</p>
<blockquote>
<p><img src="../images/Image80_compare_editor.png" width="715" alt="Compare Editor" border="0"></p>
</blockquote>
</body>
</html>