From b10e18c0939d693bc833425110e615d6bba7908a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 14 Sep 2024 15:09:51 +0200 Subject: showing tables in arch style now --- scripts/tsv2tablerow | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 scripts/tsv2tablerow (limited to 'scripts') diff --git a/scripts/tsv2tablerow b/scripts/tsv2tablerow new file mode 100755 index 0000000..d8b378d --- /dev/null +++ b/scripts/tsv2tablerow @@ -0,0 +1,8 @@ +#!/bin/oksh + +IFS="\n" +while read line; do +echo -n "_TABLE_ROW(" + echo -n "$line" | tr -s "\\t" "," + echo ")" +done < "$1" -- cgit v1.2.3-70-g09d2