10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have 2 files each containing a list of same fedora packages but with different version number. I want to compare the 2 files and remove the lines containing a newer or older version number (1 Reply)
Discussion started by: asya18
2. Shell Programming and Scripting
I need to compare two files (oldfile1 & newfile). Need to ignore the values which are present in both files. At the same time, i need to get only records in new file.
Tried using Join -v1 -v2 oldfile1 newfile (suspect it has not worked as expected).
could anyone of you please help me here. (5 Replies)
Discussion started by: Selva_2507
3. UNIX for Dummies Questions & Answers
I have two directories that has some files, some of the files are common to both of them like :
ls -l dir1
ls -l dir2
Now i want to get the files from dir2 that are not present in dir1 (means i want to get... (2 Replies)
Discussion started by: mukulverma2408
4. Shell Programming and Scripting
Hi all ,
Can any one give me the solution for below query.
I have two files .
After you compare the ouput should the the common items in both files (2 Replies)
Discussion started by: sravan008
5. Shell Programming and Scripting
I need a script that extracts function names from php files together with their location (path and file in which they are defined).
The php files are located in several directories under a base directory.
Ideally the output should be something like:
"Path/FileName/FunctionName" for a... (2 Replies)
Discussion started by: bamse
6. Shell Programming and Scripting
Below are the 2 files in directory /tmp:
1) I want to compare if both the number (242323) are same in both the files. If they are same print - Files matching, else print files do not match.
2) Also if only index file is present in that... (7 Replies)
Discussion started by: apatil65
7. UNIX for Dummies Questions & Answers
can somebody tell me how to compare names of files?
the situation is I have 2 files file1 and file2 and I want to figure out which file has the biggest ending, in this case file2 is.
thank you (3 Replies)
Discussion started by: s3270226
8. Shell Programming and Scripting
I've downloaded a huge amont of files
I've got a list of files from a remote server.
-rw-r--r-- 1 str661 strem 453465260 Dec 16 15:54 SATRYS2V1_20021218_temp_bias.nc
-rw-r--r-- 1 str661 strem 17669468 Dec 16 18:01 SATRYS2V1_20021225_hdyn_bias.nc
-rw-r--r-- 1... (9 Replies)
Discussion started by: Aswex
9. Shell Programming and Scripting
I have searched about 30 threads, a load of Google pages and cannot find what I am looking for. I have some of the parts but not the whole. I cannot seem to get the puzzle fit together.
I have three folders, two of which contain different versions of multiple files, dist/file1.php dist/file2.php... (4 Replies)
Discussion started by: bkeep
10. Shell Programming and Scripting
I do not know much about shell scripting and need to create a script and I am at a loss. If someone can help me, that would be great!!
I have two directories:
I need to get the sequence number which is part of the filename in /dir1 and delete all files in /dir2 that are... (4 Replies)
Discussion started by: stky13