https://github.com/vepo/csvi
CSV Viewer written in C for Command Line
https://github.com/vepo/csvi
c command-line command-line-tool csv csv-parser gnu linux viewer
Last synced: 4 months ago
JSON representation
CSV Viewer written in C for Command Line
- Host: GitHub
- URL: https://github.com/vepo/csvi
- Owner: vepo
- License: gpl-3.0
- Created: 2019-12-10T03:05:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-06T18:59:08.000Z (over 5 years ago)
- Last Synced: 2025-01-16T06:55:58.605Z (about 1 year ago)
- Topics: c, command-line, command-line-tool, csv, csv-parser, gnu, linux, viewer
- Language: C
- Homepage:
- Size: 264 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
- Contributing: CONTRIBUTING.md
- License: COPYING
- Code of conduct: CODE_OF_CONDUCT.md
- Authors: AUTHORS
Awesome Lists containing this project
README
####################
# CSV Viewer #
####################
A CSV Viewer written in C.
For learning purpose.
Trying in Go too: https://github.com/vepo/csv-viewer-go/
####################
# Convetions #
####################
For every function signature, follow the order:
1. `width → x`
2. `height → y`
> :warning: Except for CSV purpose! In CSV we navigate on lines.
Build process
-------------
To undestand a little more about the building process: http://blog.fourthbit.com/2013/06/18/creating-an-open-source-program-in-c-with-autotools-part-1-of-2/
Dependencies
------------
sudo apt update
sudo apt install gcc libtool make check pkg-config libncurses5-dev -y
Code Coverage
-------------
./conf-clean
./conf-gen
./configure --enable-coverage
make
make check
lcov -c --directory tests --output-file coverage.info
genhtml coverage.info --output-directory coverage-report
####################
# Installer #
####################
To install execute:
curl https://vepo.github.io/assets/bin/get-csvi | sudo bash