aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/csview
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2024-08-18 17:01:32 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2024-08-18 17:01:32 -0400
commitd158be2aea4300234d1c1c31aad041d66919960b (patch)
tree00ad8e8acfd81ef7b6b3b22e087d6c0ab638d10c /scripts/csview
parentc840e6608751f1e15a2cd6347924186b27fbe842 (diff)
add useful scripts
Diffstat (limited to 'scripts/csview')
-rwxr-xr-xscripts/csview6
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