Count of 500 files
Posted: Wed Apr 30, 2014 6:16 pm
Hi ,
I have got one requirement .
Please provide any suggestion.
Requirement:
I have a 500 PS file . I need to count the number of each records in each file and write the count of the same in the new separate o/p file.
I/P : 500 files
O/P : Count of each 500 file
How to implement this? I have been advised not to write program for this.
Example:
========
Input file 1 contains below records.
ABCHDI12757
AAKAJH1233
Input file 2 contains below records.
HUBDSD1233
BSDHDS3484
jksdgdsg23234
My desired Output file should be like this.
File1 - 2
File2 - 3
Thanks in advance.
I have got one requirement .
Please provide any suggestion.
Requirement:
I have a 500 PS file . I need to count the number of each records in each file and write the count of the same in the new separate o/p file.
I/P : 500 files
O/P : Count of each 500 file
How to implement this? I have been advised not to write program for this.
Example:
========
Input file 1 contains below records.
ABCHDI12757
AAKAJH1233
Input file 2 contains below records.
HUBDSD1233
BSDHDS3484
jksdgdsg23234
My desired Output file should be like this.
File1 - 2
File2 - 3
Thanks in advance.