10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am running diff between two directories dir1 and dir2.
diff --exclude --recursive --brief -b dir1 dir2
The output of the above command is
Files dir1/java/abc/bcd/abc9991.java and dir2/java/abc/bcd/abc9991.java differ
Files dir1/java/abc/bcd/abc9933.java and... (11 Replies)
Discussion started by: gaurav99
2. UNIX for Dummies Questions & Answers
I wasn't sure whether to post this in the dummies or expert section, here's what I'm trying to do, but I suspect I'm missing the boat and should perhaps be using some of diff's builtin output functionality.
diff -yb --suppress-common-lines file1.js file2.js >> ~/results.txt
When I... (5 Replies)
Discussion started by: Buckaroo Banzai
3. UNIX for Dummies Questions & Answers
What does that mean in diff? (3 Replies)
Discussion started by: glev2005
4. Shell Programming and Scripting
I have two files to compare, but diff output doesn't give me decent output I want.
The portion of the two files are shown below.
Transaction Database Slave 3 <1>
CPM HTTP Proxy Server <1>
SSP (TDB Server) <1>
CPM Application Authorization <7>
CPM Script... (5 Replies)
Discussion started by: Daniel Gate
5. Shell Programming and Scripting
I'm asking for explanation about the output of the diff format when i compare the two files f1 and f2:
root@host1 # cat f1
205776 (2 Replies)
Discussion started by: ahmad.zuhd
6. Shell Programming and Scripting
I want to delimit the output using awk.
should change to
Or to put in another way..
OFS will work in the following code if I seperate the values with comma (eg. $1,$2,$3,$4,$5,$6 ). But since the no. of... (3 Replies)
Discussion started by: PRKS
7. Shell Programming and Scripting
Second time to post on this group :)
I'm pulling my hair now 'coz I'm so dumb to produce this requirement.
Requirement: I want to run a utility by limiting the no. inside my process (mov##) to be able to use in multi streaming.
Here is my script:
--Input: "user_list.txt"... (0 Replies)
Discussion started by: alvingo
8. Shell Programming and Scripting
hello, i'm trying to figure out a way to limit the output from an SQL query that is counting the number of occurances of a value in a field and the problem is when i run this query against a huge file with many unique values the output is pretty huge.
Is there a way i can specifically LIMIT the... (2 Replies)
Discussion started by: bobk544
9. UNIX for Dummies Questions & Answers
I have two CSV files and I would like to create a third CSV file containing the differences between the two.
I understand the diff command can be used to list differences between two files. My problem is that when I pipe the output into a third CSV file, the line numbers and other formatting... (3 Replies)
Discussion started by: paulp
10. Shell Programming and Scripting
I want to compare two files. All records in file 2 that are not in file 1 should be output to file 3.
file 3 should have
I have looked at diff, bdiff, cmp, comm, diff3 without any luck! (2 Replies)
Discussion started by: blt123