I am using the following code:
set LASInputFile = `ls *.[Ll][Aa][Ss] | head -1`
set COMPLine = `grep -i :COMPANY $LASInputFile`
to extract the following line from my input file:
COMP. XYZ Public Company :COMPANY NAME
I now need to extract the full name of the company which may be a single word or multiple words separated by white space as in this example. I study awk and
sed but I just can't figure out how to code for this.
Thanks,
Paul H.
Denver