10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have two file as given below which shows the ACL permissions of each file. I need to compare the source file with target file and list down the difference as specified below in required output. Can someone help me on this ?
# file: /local/test_1
# owner: own
#... (4 Replies)
Discussion started by: sarathy_a35
2. UNIX for Advanced & Expert Users
I have 2 files as follows.
out out should be
How do we achieve this> The difference betwenn the two files should be wirtten to the output file..
... (2 Replies)
Discussion started by: kanthrajgowda
3. Shell Programming and Scripting
I have a file in following format:
I need a script to compare time on each line with previous line and show the inconsecutive line. Ex.:
A better way... (6 Replies)
Discussion started by: vilibit
4. UNIX for Dummies Questions & Answers
I have two files as below
When i find the difference the output would be c&d..
How can i get my requirement...pls help...
Many thanks in advance (10 Replies)
Discussion started by: jagadish_gaddam
I need to find the difference between two files in UNIX. I tried diff, but couldn't get it right.
There are two files:
I need an output file like below: ... (11 Replies)
Discussion started by: kisaad
6. Emergency UNIX and Linux Support
I have a file which gets appended with records daily..for eg. 1st day of the month i get 9 records ,2nd day 9 records .....till the last day in the month...the no of records may vary...i store the previous days file in a variable oldfile=PATH/previousdaysfile....i store the current days file in a... (6 Replies)
Discussion started by: ganesh_248
7. Shell Programming and Scripting
Am new to shell scripting.
I am getting the below o/p from the oracle database, when I fire a query.
ID JOB_ID ELAPSED_TIME FROM TO
----- ------ ------------------- -------- --------
62663 11773 01/06/2009 09:49:13 SA CM
62664 11773 ... (4 Replies)
Discussion started by: sathik
8. Shell Programming and Scripting
I have two files like this:
ABCD 4322 26485
JMTJ 5311 97248
XMPJ 4321 58978
ABCD 4321 26485
JMTJ 5311 97248
XMPJ 4321 68978
What to do: Compare the two files and find those lines that doesn't match. And have a new file like this:
"from file 1"
ABCD 4322 26485... (11 Replies)
Discussion started by: kingpeejay
9. Shell Programming and Scripting
I want to write a script for the following:
nlscux62:tibprod> grep "2008 Apr 30 01:" SA_EHV_SPEED_SFC_IN_03-SA_EHV_SPEED_SFC_IN_03-2.log | grep -i post | more
2008 Apr 30 01:01:23:928 GMT +2 SAPAdapter.SA_EHV_SPEED_SFC_IN_03-SA_EHV_SPEED_SFC_IN_03-2 Info AER3-000095 IDOC... (2 Replies)
Discussion started by: satyakam
10. Shell Programming and Scripting
I am very new to the Unix shell scripting ,, could you pleae help me to generate the output file having the filename and path which files having the difference in the contents in the two directory. all files in both directory have the same name and format.
input directory /edc/input1/ ... (3 Replies)
Discussion started by: singhald007