Categorygithub.com/taskie/fwv
modulepackage
0.1.0
Repository: https://github.com/taskie/fwv.git
Documentation: pkg.go.dev

# README

fwv

manipulate “Fixed Width Values”

fwv

Install

go get -u github.com/taskie/fwv/cmd/fwv

Usage

Convert CSV to Fixed Width Values

fwv foo.csv foo.txt

or

fwv -f csv <foo.csv >foo.txt

foo.csv (input)

a,bb,あいう,ccc
漢字,d,eee,f

foo.txt (output)

a    bb あいう ccc
漢字 d  eee    f

Convert Fixed Width Values to CSV

fwv foo.txt foo.csv

or

fwv -t csv <foo.txt >foo.csv

Treat "Eastern Asian Ambiguous Width" as halfwidth

fwv -E

or

env FWV_EAA_HALF_WIDTH=1 fwv

Ignore character width

Only the number of characters (runes) are considered.

fwv -W

Specify a delimiter

fwv -d '│'

foo.txt (output)

a   │bb│あいう│ccc
漢字│d │eee   │f

Dependencies

dependency

License

Apache License 2.0

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author