#!/bin/bash
# Simple console CSV viewer
file="${1:?}" || exit 1
sed -e 's/,,/, ,/g' "$file" | column -s, -t | less -#5 --LINE-NUMBERS --chop-long-lines --RAW-CONTROL-CHARS