SYNOPSIS

PERL PROGRAM NAME:

AUTHOR: Juan Lorenzo (Perl module only)

DATE:

DESCRIPTION:

Version:

USE

NOTES

Examples

SYNOPSIS

SEISMIC UNIX NOTES SUKEYCOUNT - sukeycount writes a count of a selected key

  sukeycount key=keyword < infile [> outfile]                  



Required parameters:                                        

key=keyword      One key word.                                 



Optional parameters:                                        

verbose=0  quiet                                            

       =1  chatty                                           



Writes the key and the count to the terminal or a text      

  file when a change of key occurs. This does not provide   

  a unique key count (see SUCOUNTKEY for that).             

Note that for key values  1 2 3 4 2 5                       

  value 2 is counted once per occurrence since this program 

  only recognizes a change of key, not total occurrence.    



Examples:                                                   

   sukeycount < stdin key=fldr                              

   sukeycount < stdin key=fldr > out.txt                    





Credits:



  MTU: David Forel, Jan 2005

User's notes (Juan Lorenzo) untested

CHANGES and their DATES

Import packages

instantiation of packages

Encapsulated hash of private variables

sub Step

collects switches and assembles bash instructions by adding the program name

sub note

collects switches and assembles bash instructions by adding the program name

sub clear

sub key

sub verbose

sub get_max_index

max index = number of input variables -1