Please help Moderators. Unix Masters.

Hi Vgersh,

I have a quick problem that needs to be solved as soon as possible. I am using a script written by Reborg for doing a file manipulation on files. The script is in the posted forum with title "Script not working as desired". It was working fine but I have a strange situation where the the records in the file are exceeding the length of asingle line and are going intp 2 to 3 lines. This one is creating problem as the script given by Reborg just counts every row as a record where as it has to correctly take the end of the record if it exceeds more than one line. The file is "|" delimited. I want to accomodate that in the script to correctly count the record. Please help me with this script.

Once again the script is in the thread "script not working as desired"

Please help Moderators.