From 4025dcc3e4916636486fec515ddd5de1562432aa Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Tue, 29 Jan 2019 16:58:16 +0100 Subject: Make seq behave like jot --- makecolumns.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makecolumns.sh b/makecolumns.sh index 9f6f8b8..ee31f82 100755 --- a/makecolumns.sh +++ b/makecolumns.sh @@ -417,7 +417,7 @@ JOT () { jot -w "$1" - "$2" "$3" "$4" ;; *) - for x in `seq "$2" "$4" "$3"`; do printf "$1 " "$x"; done + for x in `seq "$2" "$4" "$3"`; do printf "$1\n" "$x"; done ;; esac } -- cgit v1.2.3