![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help in extracting data with command from file in C | ahjiefreak | High Level Programming | 10 | 03-20-2008 11:26 PM |
| Extracting data from text file based on configuration set in config file | suparnbector | Shell Programming and Scripting | 3 | 08-10-2007 03:25 AM |
| Extracting Data from xml file | nishana | Shell Programming and Scripting | 3 | 07-13-2007 08:17 AM |
| Extracting data from an AFP file | Dolph | UNIX for Advanced & Expert Users | 4 | 05-22-2007 05:29 AM |
| extracting recursive data file | bbeugie | UNIX for Dummies Questions & Answers | 1 | 06-16-2004 06:48 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Extracting Data from a File
Hi
I need to calculate the number of occurrences of a item in a number of files using Perl. The item appears continually throughout the files but in each case I only want to calculate it in certain blocks of the file. Example - Calculalte the number of occurrences of a 'pass' in a block of code which starts with 'Start' and end with 'Finish'. It is not possible to say start at line 1 and count the number of occurrences of the item until you reach line 5 as the files are all different sizes and the block is located at different places in all the files. I'm sure this is possible but I just can't seem to get my head around this Perl scripting Any help would be great OOP |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|