Hello...
examples of the var TITLE...
TITLE="Stevens Institute of Technology"
TITLE="The Middlesex Academy of Science"
TITLE="University of Alabama"
Contents of file a.list...
Institute
Academy
College
School
University
Contents of file b.list...
N001 Institute
N002 Academy
N003 College
N004 School
N004 University
in the command...
echo $TITLE | grep -f a.list
can I use file 'b.list' instead of 'a.list' by some how directing it to match the 2nd field in the file for the pattern?
Thanks in advance...
Thanks
examples of the var TITLE...
TITLE="Stevens Institute of Technology"
TITLE="The Middlesex Academy of Science"
TITLE="University of Alabama"
Contents of file a.list...
Institute
Academy
College
School
University
Contents of file b.list...
N001 Institute
N002 Academy
N003 College
N004 School
N004 University
in the command...
echo $TITLE | grep -f a.list
can I use file 'b.list' instead of 'a.list' by some how directing it to match the 2nd field in the file for the pattern?
Thanks in advance...
Thanks