fieldsplit(1)

NAME

fieldsplit - splits a file into multiple files according to a particular field value.

SYNOPSIS

fieldsplit  [-hVfFdpnskSbx] [file ...]

DESCRIPTION
splits a file into multiple files according to a particular field value.

-h  --help
    print this message and exit

-V  --version
    print version info and exit

-f field   --field=field
    index of field to split on

-F field_label   --field-label=field_label
    label of field to split on

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

-p path   --path=path
    directory in which output files should be placed (default: ./)

-n name   --name=name
    output file prefix

-s suffix   --suffix=suffix
    output file suffix

-k  --keep
    preserve the input header row in all output files

-S buffer_line_count   --buffer-lines=buffer_line_count
    line buffer size - DEPRECATED.

-b buckets   --buckets=buckets
    split data into BUCKETS files, guaranteeing that like field values are in the same output file.

-x xform_names   --xform-names=xform_names
    user-supplied substitution regex to transform output names (e.g. 's/[^-w]//g')

Either -f or -F must be specified.

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