Search Results

Search: Posts Made By: squoggle
19,455
Posted By bakunin
hm, my man page of grep says: -f FILE,...
hm, my man page of grep says:

-f FILE, --file=FILE
Obtain patterns from FILE, one per line. The empty file con-
tains zero patterns, and therefore matches nothing.

So i...
19,455
Posted By radoulov
Could you post a sample from the second file?
Could you post a sample from the second file?
19,455
Posted By Corona688
I'd do that by telling grep the previous and next...
I'd do that by telling grep the previous and next characters must either be beginning of line, end of line, or non-numeric.

Once you've done that you can grep entire lists of things with -f.
...
19,455
Posted By Yoda
That is Dangerous Backticks...
That is Dangerous Backticks (http://partmaps.org/era/unix/award.html#backticks): for x in `cat address.list`

Use a while loop instead and grep with -w option:
while read x
do
echo "results...
Showing results 1 to 4 of 4

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