An open API service indexing awesome lists of open source software.

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

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