Re: Lookup between 2 files ( korn shell )
can do by this also :
awk -F: '{ print $1 }' DS.txt > f1.txt
write a small script :
for strings in `cat f1.txt`
do
grep $strings chain.txt
done
.
Relevant Pages
- Re: Filtering & sorting ASCII files
... Better would be to use another tool: awk, sed, perl or grep. ... cow 39% cat f1.txt ... strings from the third column, and then use these as a list of arguments, ... (comp.soft-sys.matlab) - find a key in the executable
... I want to find a key using grep, ... strings, and strace/ltrace program, but have issues actaully ... Prev by Date: ... (comp.unix.shell) - Re: help with grep looking for cats and dogs
... >>> I've been searching high and low for how to grep for two different ... >>> strings at once, and I'm not sure that it can be done. ... Prev by Date: ... (comp.unix.sco.misc) - Re: while (1) vs. for ( ;; )
... > To bad grep doesn't know how to ignore C comments and literals. ... or is this just a silly objection for the ... Use an editor and fix the problem. ... In cases where 'while' appears inside strings (or ... (comp.lang.c) - Re: puTTy help
... grep strings from compressed directories. ... and then pipes that to a program that allows you ... there's another command line program that'll do what you ... (comp.security.ssh) |
|