I have the following text file: (Employee Ashley)insert text here(Employee Bob)insert text here(Employee Joseph)insert text hereI would like to take the text for each employee and save it to a new file. I can manually count the number of employees if that's necessary. How can I do this all from terminal?I was thinking of awk then some way of detecting the open parenthesis as that is the only thing that has the text in between and then in file directory > outfile directoryCould someone help me tie up the loose ends? 
Saving data between names in terminal to new files?
text processing;files;read
awk ' /^\(Employee/ { FILENAME=;                      for ( i=2 ; i<=NF; i++)                         FILENAME=FILENAME $i;                      FILENAME=substr(FILENAME,1,length(FILENAME)-1) .txt;                    }     !/^\(Employee/ { print >> FILENAME } 'This presumes the first line will always be an employee identifier. The for loop is to allow for surnames or multiple given names (Betty Lou, Mary Jo, etc.)