...and executing the script...
--> time sh ./get-ATA.sh
====== finding common ATA chapter messages in 10 reports for further analysis ====
Thu, Jan 25, 2018  3:50:01 PM  
=  completed, see ATA...msg-status and ATA...DETAILS for analysis areas   =====
Thu, Jan 25, 2018  3:50:06 PM
======================== 
real    0m5.110s        # note:  cygwin on win 7 T5810 desktop
user    0m0.512s
sys     0m3.060s
 
AFTER RUNNING THE SCRIPT:
------------------------------------------------
luser@Luser-Lab [/home/luser/LINUX_REG_EXP_TOOLS/FIND-COMMON_ATA_MSG]
------------------------------------------------
--> ll
total 4317
-rwxrwx---+ 1 luser local Lusers 185208 Jan 25 09:03 01.txt
-rw-rw-r--+ 1 luser local Lusers   2466 Jan 25 15:50 01-rpt
….
-rwxrwx---+ 1 luser local Lusers 441026 Jan 25 09:03 09.txt
-rw-rw-r--+ 1 luser local Lusers   5180 Jan 25 15:50 10-rpt
-rw-rw-r--+ 1 luser local Lusers 104801 Jan 25 15:50 DETAILS-ATA-designator-25Jan18.txt
-rw-rw-r--+ 1 luser local Lusers  11042 Jan 25 15:50 status-ATA-designator-25Jan18.txt
-rw-rw-r--+ 1 luser local Lusers     99 Jan 25 15:50 common-messages.txt
-rw-rw-r--+ 1 luser local Lusers   2513 Jan 25 15:49 get-ATA.sh
 
------------------------------------------------
01.txt:          [] Maintenance Message: 38-12041                          LATCHED
02.txt:          [] Maintenance Message: 38-12041                           ACTIVE
03.txt:          [] Maintenance Message: 38-12041                          LATCHED
….