dana
c23a0d84b0
48614: getopts: Calculate OPTIND according to POSIX_BUILTINS
2021-05-03 18:11:38 -05:00
Bart Schaefer
82ff9f24f1
48560: add TYPESET_TO_UNSET option to remove initialization of parameters
...
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.
2021-04-18 13:58:09 -07:00
Bart Schaefer
408a830483
47913: implement CASE_PATHS option to make NO_CASE_GLOB more sensible
2021-04-10 14:26:46 -07:00
Miroslav Koškár
33361e81bc
46049: docs: Correct the sense of the single-letter abstract of the GLOBAL_RCS option (-d)
2020-06-17 08:13:51 +00:00
Peter Stephenson
3df604a4be
46026: Add CLOBBER_EMPTY option.
2020-06-09 18:07:01 +01:00
Mikael Magnusson
8923d2a618
Add SHORT_REPEAT option
2020-04-02 07:42:16 +02:00
Daniel Shahaf
490478378f
unposted: docs: Fix a cross-reference.
2020-01-16 16:32:39 +00:00
Peter Stephenson
cb4dc95643
45009: POSIX_CD needs to suppress some forms of option.
...
Otherwise forms of argument allowed by POSIX are interpreted as
options instead.
2019-12-12 10:47:00 +00:00
dana
78fb8aaccf
44198: Add cd_silent option to suppress all cd output
2019-04-12 14:00:19 -05:00
Martijn Dekker
4215fcb107
43944: apply NO_UNSET consistently to arithmeitc
2018-12-30 18:03:02 +00:00
Peter Stephenson
5f6a52c06c
42156: new CHECK_RUNNING_JOBS option demanded by bash groupies
...
Also new job options.
Also suppress debug error if rows or columns are reported as zero as
this is normal without a physical terminal.
2017-12-22 20:21:23 +00:00
Daniel Shahaf
77a39b57bf
42031 + 42048: Make [[ -o invalidoption ]] a normal(ish) false value, rather than a syntax error.
2017-11-24 22:10:27 +00:00
Chris Bracken
2c00d2132c
github #19 : Fix minor typo in INC_APPEND_HISTORY documentation
2017-11-13 21:06:35 +01:00
Peter Stephenson
97d4bdbc7e
41590 modified as 41595: make ERR_RETURN more logical.
...
It now operates separately at each function depth.
To keep ERR_EXIT global, make the noerrexit variable usd bit flags.
Extend tests.
2017-08-24 19:46:20 +01:00
Peter Stephenson
a9b579a9d3
Revert "41499 (with one further tweak): POSIX_STRINGS behaviour."
...
This reverts commit 2eacbef919
.
Conflicts:
ChangeLog
2017-08-08 19:04:49 +01:00
Peter Stephenson
2eacbef919
41499 (with one further tweak): POSIX_STRINGS behaviour.
...
Ignore a terminating delimiter when splitting as separators
despite being called separators are terminators.
2017-08-07 18:47:43 +01:00
Peter Stephenson
d4b94b5e83
41464, 41466: With POSIX_BUILTINS, exec only executes sexternal commands.
...
Document the default behaviour and add a test.
2017-07-27 09:22:04 +01:00
Daniel Shahaf
ce7a98fc05
users/22653: options.yo: Clarify REMATCH_PCRE semantics.
...
Presently, if the option is set but the module is unavailable, using '=~' sets
errflag.
2017-04-05 13:15:37 +00:00
Peter Stephenson
20d464944b
40875: Update REC_EXACT description, suggested by Martin Krafft
2017-03-21 09:59:15 +00:00
Øystein Walle
e329a8d62d
40568: REMATCH_PCRE is not enabled by default, fix doc.
2017-02-17 15:34:03 +00:00
Peter Stephenson
c861b17bbf
40391: Add WARN_NESTED_VAR option and functions -W.
...
These are companions to WARN_CREATED_GLOBAL, warning when a variable
from an enclosing scope is altered.
2017-01-23 09:50:57 +00:00
Peter Stephenson
bb218704d2
40306 with doc tweaks: Change behaviour expanding alias in () function definition.
...
Now an error unless the () is part of the same error as the name.
Add ALIAS_FUNC_DEF option to allow it again.
2017-01-10 19:14:26 +00:00
Oliver Kiddle
fc286168ed
unposted: fix duplicated words
2016-07-08 22:21:42 +02:00
Barton E. Schaefer
25ae250068
unposted: when ksharrays is set, braces are required for all parameter expansions with colon-modifiers
2016-06-18 16:20:38 -07:00
Peter Stephenson
524f802610
37489, tweaked: with POSIX_IDENTIFIERS create math var as scalar
2016-01-03 18:57:10 +00:00
Jun-ichi Takimoto
623d318581
37085: fix doc: DEBUG_BEFORE_CMD is set by default
2015-11-09 23:48:24 +09:00
Peter Stephenson
58f4cccb1f
37022: add GLOB_STAR_SHORT option to abbreviate ** and ***
2015-10-30 12:28:07 +00:00
Daniel Shahaf
2654cb43f6
36651: WARN_CREATE_GLOBAL += math expressions
...
Without this, '() { (( x=42 )) }' and '() { for (( i=0; … )) }' wouldn't warn
about $x and $i, respectively, being created global.
2015-09-27 23:52:25 +00:00
Peter Stephenson
d01a8a4553
unposted: fix formatting typo in options list.
2015-06-29 19:24:31 +01:00
Peter Stephenson
7708849b21
35655: APPEND_CREATE option for POSIX copmatible NO_CLOBBER
2015-06-29 19:01:31 +01:00
Barton E. Schaefer
2f0213d733
35626: update POSIX_CD to note that it is on in ksh and sh emulations
2015-06-26 20:45:54 -07:00
Peter Stephenson
39b28980f3
various posts: Implement assignment parsing for typeset.
...
Typeset assignments now work like raw assignments except
for no "+=" and no GLOB_ASSIGN.
Documented in typeset builtin doc and mentioned in release notes.
Tests to ensure basic sanity.
Enabled by default, can be turned off by "disable -r" with typeset
family of commands.
2015-06-24 10:21:12 +01:00
Peter Stephenson
370e7f73f6
35442: document MULTIBYTE is always on by default when available
2015-06-11 12:41:05 +01:00
Daniel Shahaf
9dc173efc3
unposted: Typo fix
2015-06-02 10:08:17 +00:00
Peter Stephenson
75cafccc0a
35343: Avoid $#name length handling for POSIX_IDENTIFIERS
2015-05-31 16:40:14 +01:00
Peter Stephenson
2b08d0ed67
35318: POSIX_BUILTINS behaviour for getopts.
...
It needs to keep OPTIND, as well as the index within the
string pointed to by OPTIND, global in this case.
2015-05-28 18:32:39 +01:00
Jun-ichi Takimoto
ffdeb1c257
35075: improve manual format
...
also fixed a ChangeLog entry for 35034 (2015-05-06)
2015-05-12 00:36:18 +09:00
Jun-ichi Takimoto
36a55e278e
35034: improve manual format up to Chapter18
2015-05-06 10:45:21 +09:00
Han Pingtian
959aa75423
34880: POSIX_TRAPS doc
2015-04-13 11:30:23 +01:00
Han Pingtian
20982001b1
34875: CSH_JUNKIE_HISTORY doc
2015-04-13 11:26:52 +01:00
Han Pingtian
cea8b471f6
users/20078: HIST_BEEP doc
2015-04-13 11:21:12 +01:00
Han Pingtian
5b2bb68364
34822: correction to GLOB_SUBST doc
2015-04-01 09:31:48 +01:00
Han Pingtian
26cfae830c
34785: fix typo in SHINSTDIN doc
2015-03-27 10:36:45 +00:00
Peter Stephenson
3a99ef322d
34280: more widespread use of FORCE_FLOAT.
...
Add the case of variables read for use in arithmetic expressions.
2015-01-15 13:52:40 +00:00
Peter Stephenson
e33411990e
AUTO_CD behaviour depends on SHIN_STDIN, document
2014-11-11 19:51:05 +00:00
Oliver Kiddle
31df6c4d32
33643: elaborate documentation of the PRIVILEGED option
2014-11-09 17:53:25 +01:00
Peter Stephenson
b4f7ccecd9
33531 with additions: retain status of exited background jobs.
...
Add linked list of unwaited-for background jobs.
Truncate at value of _SC_CHILD_MAX discarding oldest.
Remove old lastpid_status mechanism for latest exited process only.
Slightly tighten safety of permanently allocated linked lists so
that this doesn't compromise signal handling.
2014-10-26 17:47:42 +00:00
Mikael Magnusson
7eb949a6bb
Fix some typos in the documentation
2014-10-03 04:54:48 +02:00
Jun T
0853bcfdd6
32781: source behaves like . w.r.t. path search
2014-06-16 20:15:35 +01:00
Jun T
522908c7ff
32779: fix a typo in options.yo
2014-06-14 16:14:38 +02:00