Help in awk to read the common txt

view story

http://www.unix.com – Dear all, I have small script which seems to be working but seems to have some bug. It suppose to read commonTxt and then print the noOfLines in outputFile. It is working for most of the txt but unable to add some of the variables values. Can somebody please spend looking at the thread and reply. Thanks in advance, Script is following Code: #!/bin/bash                                                                (HowTos)