X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=include%2FMKparametrized.sh;h=5d0cae1444f065a6b8649adad51ddfe408032dd9;hp=c6908b958649089698e3d01af5fbeeb22b25fa24;hb=HEAD;hpb=71244b7927a8918c0b09a8eb13b017ef0ebb6de8 diff --git a/include/MKparametrized.sh b/include/MKparametrized.sh index c6908b95..5d0cae14 100755 --- a/include/MKparametrized.sh +++ b/include/MKparametrized.sh @@ -1,6 +1,7 @@ #!/bin/sh ############################################################################## -# Copyright (c) 1998-2014,2017 Free Software Foundation, Inc. # +# Copyright 2019,2020 Thomas E. Dickey # +# Copyright 1998-2014,2017 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # # copy of this software and associated documentation files (the "Software"), # @@ -26,14 +27,15 @@ # use or other dealings in this Software without prior written # # authorization. # ############################################################################## -# $Id: MKparametrized.sh,v 1.8 2017/07/22 16:32:27 tom Exp $ +# $Id: MKparametrized.sh,v 1.10 2020/02/02 23:34:34 tom Exp $ # # MKparametrized.sh -- generate indirection vectors for various sort methods # # The output of this script is C source for an array specifying whether # termcap strings should undergo parameter and padding translation. # -CAPS="${1-Caps}" +[ $# = 0 ] && set - Caps + cat <