From d158be2aea4300234d1c1c31aad041d66919960b Mon Sep 17 00:00:00 2001 From: JP Appel Date: Sun, 18 Aug 2024 17:01:32 -0400 Subject: add useful scripts --- scripts/csview | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 scripts/csview (limited to 'scripts/csview') 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 -- cgit v1.2.3