truncfield(1)

NAME

truncfield - truncates specified fields from a string-delimited data stream

SYNOPSIS

truncfield  [-hVdfFoa] [file ...]

DESCRIPTION
truncates specified fields from a string-delimited data stream

-h  --help
    print this message and exit

-V  --version
    print version info and exit

-d delim   --delimiter=delim
    field-separator string

-f fields   --field=fields
    indexes of fields to be truncated

-F field_labels   --field-labels=field_labels
    labels of fields to be truncated

-o output_fname   --output-file=output_fname
    name of file to which output should be written

-a append_fname   --append-file=append_fname
    name of file to which output should be appended

if -d is not specified and DELIMITER enviroment variable is defined, that value will be used.

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.