running solaris 2.5.1 on a sparc5, with less than 12 users runnign compilers, gui's, really not a heavy load on it however, sometimes, not always, when users run diff, or sdiff or a .tcl script, the computer locks up. One time right before everything froze, I noticed in top, that the sdiff process... (2 Replies)
Folks,
I am Diff'ing 2 identical files..and the result is, it shows all the lines from 2 files (saying nothing is being matched).
If I copy the content from 1 of the file and paste in a newly created file and then do the diff, it equals.
2 files are xml files.
I've tried many... (4 Replies)
Hi,
I am trying to do a diff between two files using "diff" command.I dont need my output to be printed using extra symbols ">" and "<" as we usually see for the diff command. Even to excude these characters in each line of the output, my diff output has inturn many symbols ">" and "<".
... (1 Reply)
I am trying to do a diff between two files using "diff" command.I dont need my output to be printed using extra symbols ">" and "<" as we usually see for the diff command. Even to excude these characters in each line of the output, my diff output has inturn many symbols ">" and "<".
Please help.... (2 Replies)
Hello,
Apologies if this question has been repeated before, but I am getting myself confused even more as I scan the posts!
I have two files, file1 is a column:
1dlwa_
1s69a_
1idra_
1ngka_
And file2 has three columns (columns seperated by tabs):
1dlw a_ A
1uvy a_ A
1dly a_ A
1uvx... (1 Reply)
Hello Guys,
I am a newbie to Unix. I was going through the diff command with example
like this,
$ cat 1
1
2
4
0
8
9
$ cat 2
1
0
3
2
8
My output is like this: (1 Reply)
Hi All,
I havae 2 files like this
File1.dat.tar.gz--- has
+667866066123|20110506
+667866066866|20110405
File2.dat.tar.gz -----contains
+447866066123|20110505
+447866066866|20110405
If I give
Gzcat File1.dat.tar.gz | cut –d “|” –f 1 > out1.dat
Gzcat File2.dat.tar.gz| cut –d... (4 Replies)
I am using the diff command, but i cant figure out why it is displaying these strange numbers and letters
diff spellExample spellExample.bak
1c1
< I went to a garden party
---
> I went to a gadren party
3c3
< bunch of my old friends did something
---
> bnuch of my old freinds did... (2 Replies)
Discussion started by: football12345
2 Replies
LEARN ABOUT MINIX
diff
DIFF(1) General Commands Manual DIFF(1)NAME
diff - print differences between two files
SYNOPSIS
diff [-c | -e | -C n] [-br]file1 file2
OPTIONS -C n Produce output that contains n lines of context
-b Ignore white space when comparing
-c Produce output that contains three lines of context
-e Produce an ed-script to convert file1 into file2
-r Apply diff recursively to files and directories of
EXAMPLES
diff file1 file2 # Print differences between 2 files
diff -C 0 file1 file2
# Same as above
diff -C 3 file1 file2
# Output three lines of context with every
diff -c file1 file2 # Same
diff /etc /dev # Compares recursively the directories /etc and /dev
diff passwd /etc # Compares ./passwd to /etc/passwd
DESCRIPTION
the same name, when file1 and file2 are both directories" difference encountered"
Diff compares two files and generates a list of lines telling how the two files differ. Lines may not be longer than 128 characters. If
the two arguments on the command line are both directories, diff recursively steps through all subdirectories comparing files of the same
name. If a file name is found only in one directory, a diagnostic message is written to stdout. A file that is of either block special,
character special or FIFO special type, cannot be compared to any other file. On the other hand, if there is one directory and one file
given on the command line, diff tries to compare the file with the same name as file in the directory directory.
SEE ALSO cdiff(1), cmp(1), comm(1), patch(1).
DIFF(1)