10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I hope I can explain this correctly. I am using Bash-4.2 for my shell.
I have a group of file names held in an array. I want to compare the names in this array against the names of files currently present in a directory. If the file does not exist in the directory, that is not a problem.... (5 Replies)
Discussion started by: BudMan
2. Shell Programming and Scripting
I have file1.txt
I tried using the diff and comm but not getting the expected output..
I want where exactly the miss match occurs. probably the field.
Please help. (6 Replies)
Discussion started by: i150371485
3. Shell Programming and Scripting
I have to compare two file this time
P11223 x s (2 Replies)
Discussion started by: manigrover
4. UNIX for Advanced & Expert Users
Hi Guys ,
we have one directory ...in that directory all files will be set on each day..
files must have header ,contents ,footer..
i wants to compare the header,contents,footer ..if its same means display an error message as 'files contents same' (7 Replies)
Discussion started by: Venkatesh1
5. Shell Programming and Scripting
I've two files with data like below:
So,the field separator in file1.txt is a comma and in file2.txt,it is |
Now,the output should be... (2 Replies)
Discussion started by: asyed
6. Shell Programming and Scripting
I am working on a test automation system in our Firm which requires some shell script for Cron job.Below i have mention what i am looking for in pseuso code,if someone can give me basic idea then i will try to build on frm their...
I have a directory namely /sapp/limit
1)... (4 Replies)
Discussion started by: asheshrocky
7. Shell Programming and Scripting
So I have two files:
pictures.txt 1.1 1.3
dance.txt 1.2 1.4
treehouse.txt 1.3 1.5
pictures.txt 1.5 ref2313 1.4 ref2345 1.3 ref5432 1.2 ref4244
dance.txt 1.6 ref2342 1.5 ref2352 1.4 ref0695 1.3 ref5738 1.2 ref4948 1.1
treehouse.txt 1.6 ref8573 1.5 ref3284 1.4 ref5838... (24 Replies)
Discussion started by: linuxkid
8. Shell Programming and Scripting
I want to compare two files which looks like this
Now these files are tobe compared in a way that we will select 5 from the first file it is corresponding 2nd column is A, it should be compared with the... (5 Replies)
Discussion started by: balu_puttaganti
9. UNIX for Advanced & Expert Users
I need to compare shadow file sizes with their real file counterparts. If the shadow file size differs form the realfile size then it must send a mail. My problem is that our system has over 1600 shadowfiles in different directories, with different names. the only consistancy is the .sh file... (4 Replies)
Discussion started by: terrym
10. UNIX for Dummies Questions & Answers
i have a long script saved in two different folders at a different date...these two savings are nearly identical but i would like to know what are the differences between them without having to print and compare them line by line.
maybe there is a "compare file1 file2" command?
thx (2 Replies)
Discussion started by: tomapam