10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am searching for an exact match on a value read from another file to lookup an email address in another file. The file being checked is called "contacts" and it has Act #, email address, and contact person.
6423;email@example.com;Jim Doran... (2 Replies)
Discussion started by: ziggy6
2. UNIX for Dummies Questions & Answers
I have a flat file that looks like this, let's call it Chromosome_9.txt:
FT /Gene_Name="Guanyl-Acetylase 9"
FT /Gene_Name="Endoplasmic Luciferase"
FT ... (4 Replies)
Discussion started by: Twinklefingers
3. Shell Programming and Scripting
Hi I would appreciate your help with this.
I have a output file from a command. It is broken based on initial of the users. Exmaple of iitials MN & SS. Under each section there is information pertaining to the user however each section can have different number of lines. MY challenge is to ... (5 Replies)
Discussion started by: mnassiri
4. Shell Programming and Scripting
I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving...
File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
5. Shell Programming and Scripting
I'll like to search a list of tems in a huge file and then output each of the terms to individual files. I know I can use grep -f list main.file to search them but how can I split the output into individual files? Thank you. (6 Replies)
Discussion started by: ivpz
6. UNIX for Dummies Questions & Answers
Hi All !
As a dummy, I try to search for multiple string of characters contained in 2 types of list.
Not clear? No it's not.
I have a tab-delimited file called "inventory" with 2 columns that looks like that:
gf5 2000,red,green,yellow... (4 Replies)
Discussion started by: lucasvs
7. Shell Programming and Scripting
I'm interested in finding all occurrences of the terms in file1 in file2, which are both csv files. I can do this with a loop but I'm interested in knowing if I can also do it with the help of xargs and grep. What I have tried:
cat file1 | xargs grep file2
The problem is that... (15 Replies)
Discussion started by: eon
8. Shell Programming and Scripting
I am trying to search a large file with a number of different search terms that are listed one per line in 3 different files. Most importantly I need to be able to do a case insensitive search.
I have tried just using egrep -f but it doesn't seam to be able to handle the -i option when... (3 Replies)
Discussion started by: dougzilla
9. UNIX for Dummies Questions & Answers
I want to list filenames instead of lines when i search in compresed files for a string.
#gzcat *.gz | grep -l 12345
Anyone got a solution on this problem? (2 Replies)
Discussion started by: HugoH
10. UNIX for Dummies Questions & Answers
How will you list only the empty lines in a file (using grep) (1 Reply)
Discussion started by: JosephGerard