X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=include%2FMKparametrized.sh;h=5d0cae1444f065a6b8649adad51ddfe408032dd9;hp=3ce5d9c9ab14a0a7c3518879688276bc4d5044ed;hb=47d2fb4537d9ad5bb14f4810561a327930ca4280;hpb=34d602f272c394e9a980438e636e1ce4d355f83b;ds=sidebyside diff --git a/include/MKparametrized.sh b/include/MKparametrized.sh index 3ce5d9c9..5d0cae14 100755 --- a/include/MKparametrized.sh +++ b/include/MKparametrized.sh @@ -1,6 +1,7 @@ #!/bin/sh ############################################################################## -# Copyright (c) 1998-2006,2014 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,15 +27,18 @@ # use or other dealings in this Software without prior written # # authorization. # ############################################################################## -# $Id: MKparametrized.sh,v 1.7 2014/05/24 15:07:19 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 <