File Compare - Juniper JUNOS OS 10.3 - SOFTWARE Manual

For ex series ethernet switches
Hide thumbs Also See for JUNOS OS 10.3 - SOFTWARE:
Table of Contents

Advertisement

Complete Software Guide for Junos

file compare

Syntax
Release Information
Description
Options
Required Privilege
Level
List of Sample Output
Output Fields
728
®
OS for EX Series Ethernet Switches, Release 10.3
file compare (files filename filename)
< context | unified>
<ignore-white-space >
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Compare two local files and describe the differences between them in default, context,
or unified output styles:
—In the first line of output,
Default
d
means lines were deleted between the two files, and
between the two files. The numbers preceding this alphabetical marker represent the
first file, and the lines after the alphabetical marker represent the second file. A left
angle bracket (
) in front of output lines refers to the first file. A right angle bracket (
<
in front of output lines refers to the second file.
Context
—Display is divided into two parts. The first part is the first file; the second part
is the second file. Output lines preceded by an exclamation point (
Additions are marked with a plus sign (
minus sign (
.
-)
—Display is preceded by the line number from the first and the second file
Unified
(xx,xxx,x). Before the line number, additions to the file are marked with a plus sign (
and deletions to the file are marked with a minus sign (
contains the affected lines. Changes are viewed as additions plus deletions.
—Names of two local files to compare.
files filename
—(Optional) Display output in context format.
context
—(Optional) Ignore changes in amount of white space.
ignore-white-space
unified
—(Optional) Display output in unified format.
none
file compare files on page 729
file compare files context on page 729
file compare files unified on page 729
file compare files unified ignore-white-space on page 730
When you enter this command, you are provided feedback on the status of your request.
means lines were changed between the two files,
c
a
means lines were added
+),
and deletions are marked with a
. The body of the output
-)
Copyright © 2010, Juniper Networks, Inc.
)
>
) have changed.
!
+),

Advertisement

Table of Contents
loading

Table of Contents