we are using Linux Red hat version 9 and using bash shell .
Can any one help me in passing Name field interactivly and search the names from the data??Say I have
ARTHUR, SMITH, DANIS, CHARLES,GEORGE and likewise names in the
address's data and I want to search the same from the awk script .
i.e. I may want to pass two names or sometime five names :
echo -n 'Enter the Names you want to search:' >/dev/tty
read nam
awk '{ }' addr-dat > nnames
We can pass the name within the scripts but I want it to be flexible , I dont want hard-coding the name within the script but want to pass it from
the outside and it may be three or five names .
Thanks in advance .
