Here is my situation...
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
By using...
echo $TITLE | grep -f a.list
I need to extend this to get the line from file b.list in order to extract the Nxxx number.
Hope this is clear. Help is appreciated...
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
By using...
echo $TITLE | grep -f a.list
I need to extend this to get the line from file b.list in order to extract the Nxxx number.
Hope this is clear. Help is appreciated...