10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have two files
frame,008FC server6_Silver... (2 Replies)
Discussion started by: ranjancom2000
2. Shell Programming and Scripting
I have got 2 files which i need to compare and append based on the below conditions.
File 1 has data in the following format
File 2 has data in the same fomat
Now i need to compare the first 4 bytes in each line... (4 Replies)
Discussion started by: roy121
3. UNIX for Dummies Questions & Answers
I'm a newbie to scripting and am trying to compare two files using awk.
The files are exactly the same dimensions. Where the first file has 0's I would like to create an updated version of the second file which has the corresponding elements set to zero also.
12345 1 2 0... (3 Replies)
Discussion started by: kasan0
4. Shell Programming and Scripting
i have two files with identical no of columns. 6th columns is date (MM/DD/YY format) and 7th columns is time (HH:MM:SS) format. I need to compare these two vaules and if the date & time is higher than fileA, save it on fileC; if the value is lower, then save it on fileD
CONDITIONS... (7 Replies)
Discussion started by: ajiwww
5. Shell Programming and Scripting
I want to find any differences between packages installed on 2 servers/zones.
I have 2 files that contain the output from pkginfo -x . I want to know if any packages exist only in one file and I want to also know about any packages that exist in both but with a different version.
ie:... (8 Replies)
Discussion started by: Tornado
6. Shell Programming and Scripting
In first file say first.txt, i have a content say 14:56. In second file, say second.txt i have content say 16:01.... I want to compare if these two times in these 2 files are having a difference of 15 minutes...Can any one please help? (2 Replies)
Discussion started by: manoj.b
7. Shell Programming and Scripting
I'm new to shell script programming, I only have Java programming background.
I'm writing a shell script to do file synchronization between 2 machines that located at different time zone area. Both machine were set its time zone according to its geographical location (Eg: server is at... (1 Reply)
Discussion started by: python
8. UNIX for Dummies Questions & Answers
I am working on a script in which i need to get 4 hrs back time from the current time which i got from this perl function :
`perl -e 'print localtime(time() - 14400) . "\n"'`
now i need to get this in a loop and increment that time by 15 minutes
`perl... (2 Replies)
Discussion started by: maanik85
9. Shell Programming and Scripting
I am giving an example similar to the problem I have.
I have two data files of 10 columns each in which fields are delimited by comma(,). I need to compare compare the two files using the uniq col(col3). If there are any records in file1 and are not in file2 then I have check the value... (3 Replies)
Discussion started by: rajus19
10. UNIX for Dummies Questions & Answers
I need to compare x file with y file.
If x file is newer than y file do xxxx;
(I used touch -t yymmddxxx to chnage the time for y file)
How can i do that?
I tried use
But cant....any other good ways to do it? (2 Replies)
Discussion started by: AkumaTay