Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 698 Bytes

File metadata and controls

44 lines (25 loc) · 698 Bytes

viewcsv

A tiny Bash script to pretty-print CSV files in the terminal with bold yellow headers.

Comparision

🐱 Default Output with cat

cat output

🖥️ Pretty Output with viewcsv

viewcsv output

Installation

Clone the repo and symlink the script:

git clone https://github.com/Thomasbush9/viewcsv.git
cd viewcsv
chmod +x viewcsv.sh
ln -s "$PWD/viewcsv.sh" ~/.local/bin/viewcsv

Make sure ~/.local/bin is in your PATH:

export PATH="$HOME/.local/bin:$PATH"

Usage

viewcsv path/to/your.csv
  • handles missing values
  • Uses column and less for clean terminal output