diff options
author | Helmut Grohne <helmut@subdivi.de> | 2013-06-02 14:03:09 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2013-06-02 14:03:09 +0200 |
commit | ccf38158e6e7fefd2b7bdbde243da98ffff79270 (patch) | |
tree | 2612ed2e5c8c9522a768d655ce6bd8e5c819bc0b /optcvt.sh | |
parent | 08db538d4de4fc4dcd99bbb23db9017f1a56b4b3 (diff) | |
download | tcvt-ccf38158e6e7fefd2b7bdbde243da98ffff79270.tar.gz |
allow specifying the number of columns
Diffstat (limited to 'optcvt.sh')
-rwxr-xr-x | optcvt.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -8,6 +8,8 @@ COLUMNS="${SIZE#* }" if test "$COLUMNS" -ge $((2*$MINWIDTH+1)); then exec $TCVT "$@" +elif test -z "$@"; then + exec "$SHELL" else exec "$@" fi |