csv2tab(1)

CSV2TAB(1) User Contributed Perl Documentation CSV2TAB(1)

NAME

csv2tab - convert comma-separated values into tab-delimited fields

SYNOPSIS

csv2tab [-h|--help] [-n|--fields=NF] [-r|--relpace=STR] [FILE...]

DESCRIPTION

It does work on files with newlines in records. Control characters in each field (including tabs and newlines) are replaced with spaces.

OPTIONS

-n, --fields=NF
Extract NF fields from each line.
-r, --replace=STR
Replace empty fields with STR.
-h, --help
Display this help and exit.

AUTHOR

Written by Alexey Tourbin <at@altlinux.org>.

COPYING

Copyright (c) 2005 Alexey Tourbin, ALT Linux Team.

This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

SEE ALSO

Text::CSV_XS, cut(1), awk(1)

2019-03-27 perl v5.28.1