From: Lukáš Jiřiště Date: Wed, 18 Mar 2026 20:14:58 +0000 (+0100) Subject: Add a script for reading of the output table X-Git-Url: https://git.ljiriste.work/?a=commitdiff_plain;h=0b8fac28b2717c560dd3e714e0ced728b33856e2;p=parsing_table_generator Add a script for reading of the output table --- diff --git a/show_table.sh b/show_table.sh new file mode 100755 index 0000000..3d29cec --- /dev/null +++ b/show_table.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +if [ "$#" -ne 1 ]; then + echo "You must provide the parsing table" >&2 + exit 1 +fi +if ! [ -e "$1" ]; then + echo "The file" $1 "does not exist." >&2 + exit 2 +fi +column -s ';' -t -c 0 -o ' | ' "$1" | less -S