-
Notifications
You must be signed in to change notification settings - Fork 0
Align Tab-Separated Values on the terminal.
License
TurkeyMcMac/tsv-for-me
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
INSTALLATION: Just run the following command: make install to install the binary and the man page. I know this works as-is on Ubuntu, but on other operating systems it might be necessary to use the following form: make install bin=<bin path> man=<man path> SUMMARY: TSV For Me is a command for aligning Tab-Separated Values[1]. It should not have any trouble aligning unicode in UTF-8. USAGE: tsvfm [options] [file] -p <padding> Sets the minimum number of spaces between lines to <padding>. The default is 2. -r Right-align text within the table cells. -s <separator> Sets the character making up the separator line to <separator>. The default is '-'. -S Do not print any separator line. -l Use lax line length handling. With this enabled, short lines are filled with empty cells and long lines have cells trimmed. -h Print this help information and exit. -v Print version information and exit. the 'file' parameter indicates which file to read from. If left blank, the program reads from standard in. With wide tables, it might be a good idea to pipe the output into `less -S`. This will keep long lines from wrapping around to the beginning. EXAMPLE: File "example.tsv": Last Name First Name Favorite Color Smith Jill teal O'Reilly Simon brown Miller Maxwell extremely pale pink Output of "tsvfm example.tsv": Last Name First Name Favorite Color -------------------------------------------- Smith Jill teal O'Reilly Simon brown Miller Maxwell extremely pale pink LINKS: [1]: http://www.iana.org/assignments/media-types/text/tab-separated-values
About
Align Tab-Separated Values on the terminal.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published