Unix and Linux Discussions Tagged with cde |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
4,529 |
AIX |
|
|
|
1 |
2,594 |
Solaris |
|
|
|
8 |
4,468 |
AIX |
|
|
|
5 |
11,958 |
AIX |
|
|
|
8 |
4,735 |
Solaris |
|
|
|
5 |
8,131 |
HP-UX |
|
|
|
0 |
1,816 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,160 |
Solaris |
|
|
|
2 |
3,021 |
Solaris |
|
|
|
5 |
4,988 |
Solaris |
|
|
|
3 |
3,758 |
Solaris |
|
|
|
1 |
4,334 |
Solaris |
|
|
|
1 |
3,526 |
UNIX Desktop Questions & Answers |
|
|
|
7 |
14,384 |
UNIX Desktop Questions & Answers |
|
|
|
7 |
6,452 |
HP-UX |
|
|
|
0 |
8,410 |
AIX |
|
|
|
1 |
12,630 |
AIX |
|
|
|
0 |
7,056 |
AIX |
|
|
|
2 |
8,481 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,011 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,282 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,413 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,949 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,469 |
Programming |
|
|
|
6 |
9,720 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
20,439 |
IP Networking |
|
|
|
5 |
3,863 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
3,171 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
2,590 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,555 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
4,547 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
2,123 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,663 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,997 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,381 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,637 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,712 |
Cybersecurity |
|
|
|
3 |
2,461 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,061 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,891 |
UNIX for Dummies Questions & Answers |
sdiff(1) General Commands Manual sdiff(1)
NAME
sdiff - side-by-side difference program
SYNOPSIS
[options ...] file1 file2
DESCRIPTION
uses the output of diff(1) with the option, which ignores trailing blanks (spaces and tabs) and treats other strings of blanks as equal, to
produce a side-by-side listing of two files, indicating those lines that are different. Each line of the two files is printed with a blank
gutter between them if the lines are identical, a in the gutter if the line only exists in file1, a in the gutter if the line only exists
in file2, and a for lines that are different.
For example:
abc | xyz
abc abc
bca <
cba <
dcb dcb
> cde
Options
recognizes the following options:
Use the next argument,
n, as the width of the output line. The maximum value of n is 2048 (LINE_MAX). The default line length is 130 charac-
ters.
Only print on the left side when lines are identical.
Do not print identical lines.
Use the next argument,
output, as the name of a third file that is created as a user-controlled merging of file1 and file2. Identical lines of
file1 and file2 are copied to output. Sets of differences, as produced by diff(1), are printed; where a set of differ-
ences share a common gutter character. After printing each set of differences, prompts the user with a and waits for
one of the following user-typed commands:
append the left column to the output file
append the right column to the output file
turn on silent mode; do not print identical lines
turn off silent mode
call the editor with the left column
call the editor with the right column
call the editor with the concatenation of left and right
call the editor with a zero length file
exit from the program
On exit from the editor, the resulting file is concatenated on the end of the output file.
EXAMPLES
Print a side-by-side diff of two versions of a file on a printer capable of printing 132 columns:
Retrieve the most recently checked in version of a file from RCS and compare it with the version currently checked out:
SEE ALSO
diff(1), ed(1).
sdiff(1)