dotfiles/.local/bin/csview

7 lines
127 B
Plaintext
Raw Normal View History

2022-05-29 22:36:19 +02:00
#!/bin/bash
# Simple console CSV viewer
file="${1:?}" || exit 1
sed -e 's/,,/, ,/g' "$file" | column -s, -t | less -#5 -N -S