filterkeys(1)

NAME

filterkeys - filters data by matching a field's content against an external list of values

SYNOPSIS

filterkeys <-f> [-hVdoabKvp] [file1 ...]

DESCRIPTION
filters data by matching a field's content against an external list of values

-h  --help
    print this message and exit

-V  --version
    print version info and exit

-d delim   --delim=delim
    field separator string (default: 0xfe)

-f filter_file   --filter-file=filter_file
    one key per line file used for filtering input

-o outfile   --outfile=outfile
    output file name (default: stdout)

-a akeys   --filter-keys=akeys
    filter-file field indexes considered for filtering

-b bkeys   --file-keys=bkeys
    input-files field indexes considered for filtering

-K key_labels   --labels=key_labels
    labels to be considered for filtering

-v  --invert
    print only non-matching lines

-p  --preserve_header
    preserve the header line of the first file and discard all other headers.

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 2009 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.