diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2024-08-18 17:01:32 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2024-08-18 17:01:32 -0400 |
| commit | d158be2aea4300234d1c1c31aad041d66919960b (patch) | |
| tree | 00ad8e8acfd81ef7b6b3b22e087d6c0ab638d10c /scripts/csview | |
| parent | c840e6608751f1e15a2cd6347924186b27fbe842 (diff) | |
add useful scripts
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 |
