indexof(1)

NAME

indexof - prints the column number matching a given header, or 0 if not found.

SYNOPSIS

indexof <-l> [-hVvdfsr]

DESCRIPTION
prints the column number matching a given header, or 0 if not found.

-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

-l label   --label=label
    the header label to look for (required)

-f file   --file=file
    specifies file to read (default = stdin)

-s string   --string=string
    use <string> instead of a header from a file

-r row   --row=row
    header line number in file (default = 1)

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.