totsv

Current version: 1.0.0

A simple utility for cleaning up csv style files by converting them to tab separated values. These are usually easier to handle than regular csv files. An escape character can be supplied to handle fields containing the separator.

Usage

totsv [-s SEPARATOR] [-e ESCAPE] FILE1 FILE2 ...
	-s SEPARATOR    set the separating character. Default: ','
	-e ESCAPE       set the escape character. Default not set.

Example

Consider the following csv:

a,"bb,ccc",dddd

Without specifying the escape:

a	"bb	ccc"	dddd

Note that the " charater is part of the second and third field.

Specifying the escape as " gives the following:

a	bb,ccc	dddd

Releases

The current version can be fetched via git: git://git.lemen.xyz/totsv.git