#!/bin/bash
# Simple console CSV viewer
file="${1:?}" || exit 1
sed -e 's/,,/, ,/g' "$file" | column -s, -t | less -#5 -N -S