summaryrefslogtreecommitdiff
path: root/Test/D06subscript.ztst
AgeCommit message (Collapse)AuthorFilesLines
2021-04-1848560: add TYPESET_TO_UNSET option to remove initialization of parametersBart Schaefer1-0/+5
Changes typeset such that ${newparam-notset} yields "notset" and "typeset -p newparam" does not show an assignment to the parameter. This is similar to the default behavior of bash and ksh, with minor differences in typeset output. Also add tests for some POSIX incompatibilities plus minor changes for test harness robustness.
2019-12-1145004: Fix typos in commentsMartijn Dekker1-2/+2
2018-05-1442297: (e) subscript flag needs extra work with scalarsdana1-0/+16
2017-04-0340932: Parameter subscripts need to count parentheses.Peter Stephenson1-0/+7
Otherwise they can terminate in the middle of an expression.
2015-11-1737128: work around alias expansion trashing subscript parsingPeter Stephenson1-0/+17
2012-10-03users/17310: we can't treat < after [ as a normal character.Peter Stephenson1-20/+0
Document problem and test for case that needs to work.
2012-10-02users/17304: angle brackets aren't associated with special parsingPeter Stephenson1-0/+20
inside square brackets
2008-07-3125364: fix k flag in hash subscriptPeter Stephenson1-0/+10
2008-03-1824717, 24718, 24719: a 0 subscript is neither valid nor equivalent to 1Bart Schaefer1-2/+6
any longer, so the (i) subscript flag on an empty array needs to yield 1.
2007-06-1823562: add KSH_ZERO_SUBSCRIPT option and leave off by defaultPeter Stephenson1-0/+53
2007-05-2123440: Make $param[(R)value] substitute the empty string on failurePeter Stephenson1-2/+1
2005-09-0621701: Negative subscripts of scalars before start were brokenPeter Stephenson1-0/+5
2001-08-13Adjust test for new typeset restrictions.Bart Schaefer1-2/+2
2001-07-0915334: use string "(eval)" as script name in debugging messages in eval'sPeter Stephenson1-1/+1
2001-07-0915329: test script changes to go with 15327 LINENO changePeter Stephenson1-1/+1
2001-04-24Subscripting optimization and error checking.Bart Schaefer1-4/+22
2001-04-23Fix subscripting bug with backslash-double-quote.Bart Schaefer1-0/+15
2001-04-23Test for (kK) subscript flags bugfix.Bart Schaefer1-1/+10
2001-04-21More parameter/subscript cleanup.Bart Schaefer1-0/+8
2001-04-20Parameter repairs, mostly for subscripting.Bart Schaefer1-0/+130