diff options
Diffstat (limited to 'scripts/csview')
| -rwxr-xr-x | scripts/csview | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/csview b/scripts/csview new file mode 100755 index 0000000..688938f --- /dev/null +++ b/scripts/csview @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +if [ "$#" -eq 0 ] || [ "$1" = "-" ]; then + column -ts, | less -S +else + column -ts, "$1" | less -S +fi |
