aggregate2(1)

NAME

aggregate2 - aggregates data which has been pre-sorted by key(s)

SYNOPSIS

aggregate2  [-hVvdpkKsScColL] [file ...]

DESCRIPTION
aggregates data which has been pre-sorted by key(s)

-h  --help
    print this message and exit

-V  --version
    print version info and exit

-v  --verbose
    print verbose messages during execution

-d delim   --delim=delim
    field separator string

-p  --preserve-header
    do not treat first line as data

-k keys   --keys=keys
    indexes of aggregation keys

-K key_labels   --key-labels=key_labels
    labels of aggregation key

-s sums   --sums=sums
    indexes of fields to be summed

-S sum_labels   --sum-labels=sum_labels
    labels of fields to be summed

-c counts   --counts=counts
    indexes of fields to be counted if non-blank

-C count_labels   --count-labels=count_labels
    labels of fields to be counted if non-blank

-o outfile   --outfile=outfile
    file to which output should be written (default: stdout)

-l labels   --labels=labels
    delimiter-separated list of labels for the aggregation fields (default: unchanged)

-L  --auto-label
    add "-Sum" or "-Count" suffixes to aggregation fields

AUTHOR

Written by the maintainers and contributers of CRUSH tools.  See
    http://code.google.com/p/crush-tools

REPORTING BUGS

Report bugs to <crush-tools@googlegroups.com>, or visit
    http://groups.google.com/group/crush-tools

COPYRIGHT
   Copyright 2008 Google Inc.
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at
       http://www.apache.org/licenses/LICENSE-2.0
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.