summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2019-01-29 16:58:16 +0100
committerDirk Engling <erdgeist@erdgeist.org>2019-01-29 16:58:16 +0100
commit4025dcc3e4916636486fec515ddd5de1562432aa (patch)
tree2b1093d9d71550c02ba65b65529c0db0df405d36
parent3dfb10ab2731c685d67481112049870a764bea0d (diff)
Make seq behave like jot
-rwxr-xr-xmakecolumns.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/makecolumns.sh b/makecolumns.sh
index 9f6f8b8..ee31f82 100755
--- a/makecolumns.sh
+++ b/makecolumns.sh
@@ -417,7 +417,7 @@ JOT () {
417 jot -w "$1" - "$2" "$3" "$4" 417 jot -w "$1" - "$2" "$3" "$4"
418 ;; 418 ;;
419 *) 419 *)
420 for x in `seq "$2" "$4" "$3"`; do printf "$1 " "$x"; done 420 for x in `seq "$2" "$4" "$3"`; do printf "$1\n" "$x"; done
421 ;; 421 ;;
422 esac 422 esac
423} 423}