Search Results

Search: Posts Made By: grom
2,331
Posted By grom
Having read these forums I have now realised that...
Having read these forums I have now realised that the either of the following seem to do the job :

/usr/xpg4/bin/grep -f file1 < file2

or

egrep -f file1 < file2

I will have to learn the...
2,331
Posted By grom
hi thanks but i receive a message : grep:...
hi thanks but i receive a message :

grep: illegal option -- f
Usage: grep -hblcnsviw pattern file . . .

should have mentioned I am using a c shell in solaris.

cheers
2,331
Posted By grom
How do i search for the contents of list1 in list2?
hello all,
I have 2 files, list1 and list2.
They can each have several thousand lines each.

I want to check if list2 has any of the contents of list1, perhaps using a grep so that for instance...
6,828
Posted By grom
radoulov many thanks, this along with scottn's...
radoulov many thanks, this along with scottn's suggestions, will be very useful.
i will be using a solaris 8 workstation soon in an admin role that may involve the odd (little)bit of line...
6,828
Posted By grom
thanks, that has helped me make a bit of sense...
thanks, that has helped me make a bit of sense out of what, to me at the moment, seems like voodoo magic :)

I look forward to the point where I may be able to help someone on these forums,...
6,828
Posted By grom
See what you mean. I am glad your on the ball, I...
See what you mean. I am glad your on the ball, I had only tried it on the example I posted, just tried again with your revised solution (and added numbers in there too) and all is ok.

could I...
6,828
Posted By grom
many thanks!
works like a charm scottn, very much appreciated.
I have a lot to learn http://www.unix.com/images/smilies/smile.gif

Cheers
6,828
Posted By grom
find uniq lines in file, using the first field of line
Hello all, new to unix and have just found the forum.
I think I will be here quite often, and hope that in time i will be able to provide soem help, role on not being a newbie anymore :)


I have...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 03:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy