![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| perl -write values in a file to @array in perl | meghana | Shell Programming and Scripting | 27 | 06-07-2009 05:05 PM |
| Write the source code for messenger | !_30 | High Level Programming | 10 | 11-26-2008 03:39 AM |
| How to write a code in C to search a file | krishna_sicsr | High Level Programming | 6 | 08-04-2008 06:07 PM |
| how to write a wrapper c code to return uid using getuid() function | pwd | High Level Programming | 4 | 05-13-2008 10:01 AM |
| Need help to write a Perl script | user_prady | Shell Programming and Scripting | 10 | 03-26-2008 02:38 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
need help to write perl code
I have 2 files , one is master file and another file i am genearting which contains Number of fails for all host & version.
The first file is master file which contains 2 column, Test Case name and Product Name: daily/DB/attach/attach_redundancy.exp: YRS daily/DB/help/help.exp: SiCat daily/DB/hole_fail_rate/hfr-circular.exp: APPS daily/DB/markerfile/narrow_space_wide_neighbor.ex YRS The Second File : Fails.log data are like below , the ! is infront of fail record . /users/testsuite/db/SiCat/2006-09-04/10/kracherl/run.log ! daily/DB/attach/attach_redundancy.exp: ! daily/DB/help/help.exp: ! daily/DB/hole_fail_rate/hfr-circular.exp: ! daily/DB/markerfile/narrow_space_wide_neighbor.exp: ! daily/DB/markerfile/npt.exp: /users/testsuite/db/SiCat/2006-09-04/10_64/limo/run.log ! daily/DB/measure_stack/ms_objects_transistor.exp: ! daily/DB/network/transistor_exact_active.exp: ! daily/DB/output/error1.exp: /users/testsuite/db/SiCat/2006-09-04/devel_64/limo/run.log ! daily/DB/hole_fail_rate/hfr-circular.exp: ! daily/DB/markerfile/cws.exp: ! daily/DB/markerfile/narrow_space_wide_neighbor.exp: Now i want to generate the report like0 Ver Host Total YRS SiCat APPS PSD NO 10 kracherl 34 23 1 2 6 2 10_fast via2 30 18 1 2 7 2 9 optimator 36 29 1 2 4 0 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|