CVS commit: src/bin/sh

2024-07-13 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jul 13 13:43:58 UTC 2024 Modified Files: src/bin/sh: histedit.c input.c myhistedit.h mystring.c mystring.h sh.1 trap.c var.c var.h Log Message: Implement the HISTFILE and HISTAPPEND variables. See the (newly

CVS commit: src/bin/sh

2024-07-13 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jul 13 13:43:58 UTC 2024 Modified Files: src/bin/sh: histedit.c input.c myhistedit.h mystring.c mystring.h sh.1 trap.c var.c var.h Log Message: Implement the HISTFILE and HISTAPPEND variables. See the (newly

CVS commit: src/bin/sh

2024-07-13 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jul 13 07:11:20 UTC 2024 Modified Files: src/bin/sh: sh.1 Log Message: Remove caveat about $'' quoting, now POSIX.1-2004 exists. nb: no Dd bump, that's coming soon (not needed for this change anyway) To generate a diff of

CVS commit: src/bin/sh

2024-07-13 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jul 13 07:11:20 UTC 2024 Modified Files: src/bin/sh: sh.1 Log Message: Remove caveat about $'' quoting, now POSIX.1-2004 exists. nb: no Dd bump, that's coming soon (not needed for this change anyway) To generate a diff of

CVS commit: src/bin/sh

2024-07-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jul 12 08:35:48 UTC 2024 Modified Files: src/bin/sh: parser.c parser.h Log Message: Implement expandvar() : runs var/arith/cmdsub expansions on var value expandvar() is like expandenv() and expandstr() - each expands variable

CVS commit: src/bin/sh

2024-07-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jul 12 08:35:48 UTC 2024 Modified Files: src/bin/sh: parser.c parser.h Log Message: Implement expandvar() : runs var/arith/cmdsub expansions on var value expandvar() is like expandenv() and expandstr() - each expands variable

CVS commit: src/bin/sh

2024-07-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jul 12 07:30:30 UTC 2024 Modified Files: src/bin/sh: exec.c exec.h histedit.c myhistedit.h options.c options.h var.c var.h Log Message: Improve safety in var imports from the environment. Add a new var flag VUNSAFE

CVS commit: src/bin/sh

2024-07-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jul 12 07:30:30 UTC 2024 Modified Files: src/bin/sh: exec.c exec.h histedit.c myhistedit.h options.c options.h var.c var.h Log Message: Improve safety in var imports from the environment. Add a new var flag VUNSAFE

CVS commit: src/bin/sh

2024-07-11 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jul 12 04:45:13 UTC 2024 Modified Files: src/bin/sh: show.c Log Message: Meaningless gcc inspired change. This is in code only compiled in DEBUG builds (so not part of any normal NetBSD build). NFC To generate a diff of this

CVS commit: src/bin/sh

2024-07-11 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jul 12 04:45:13 UTC 2024 Modified Files: src/bin/sh: show.c Log Message: Meaningless gcc inspired change. This is in code only compiled in DEBUG builds (so not part of any normal NetBSD build). NFC To generate a diff of this

CVS commit: src/bin/sh

2024-07-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jul 5 04:07:26 UTC 2024 Modified Files: src/bin/sh: histedit.c Log Message: Don't emit a user causable "internal error" message. Non-numeric args to "fc" simply fail to find the string in an empty history buffer, as they might

CVS commit: src/bin/sh

2024-07-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jul 5 04:07:26 UTC 2024 Modified Files: src/bin/sh: histedit.c Log Message: Don't emit a user causable "internal error" message. Non-numeric args to "fc" simply fail to find the string in an empty history buffer, as they might

CVS commit: src/bin/sh

2024-07-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jul 5 02:24:57 UTC 2024 Modified Files: src/bin/sh: histedit.c Log Message: Ignore non-numeric values for HISTSIZE This is a temporary change (which can be pulled up to -9 and -10) to avoid having HISTSIZE=foo /bin/sh

CVS commit: src/bin/sh

2024-07-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jul 5 02:24:57 UTC 2024 Modified Files: src/bin/sh: histedit.c Log Message: Ignore non-numeric values for HISTSIZE This is a temporary change (which can be pulled up to -9 and -10) to avoid having HISTSIZE=foo /bin/sh

CVS commit: src/bin/sh

2024-07-02 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Jul 3 05:58:05 UTC 2024 Modified Files: src/bin/sh: histedit.c Log Message: General source cleanup, whitespace, KNF, 80-col police, ... No executable binary change intended (certainly NFCI). Some debugging info will change as

CVS commit: src/bin/sh

2024-07-02 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Jul 3 05:58:05 UTC 2024 Modified Files: src/bin/sh: histedit.c Log Message: General source cleanup, whitespace, KNF, 80-col police, ... No executable binary change intended (certainly NFCI). Some debugging info will change as

CVS commit: src/bin/sh

2024-06-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jun 18 07:21:31 UTC 2024 Modified Files: src/bin/sh: jobs.c Log Message: Remove the possibility that all jobs won't be cleaned up by "wait" There was a possibility that in a wait (no options or args) not all jobs would be

CVS commit: src/bin/sh

2024-06-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jun 18 07:21:31 UTC 2024 Modified Files: src/bin/sh: jobs.c Log Message: Remove the possibility that all jobs won't be cleaned up by "wait" There was a possibility that in a wait (no options or args) not all jobs would be

CVS commit: src/bin/sh

2024-06-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 15 06:07:14 UTC 2024 Modified Files: src/bin/sh: jobs.c Log Message: When generating the text that identifies the command for the job tree from the parse tree data, be more intelligent about where we stick ';' characters.

CVS commit: src/bin/sh

2024-06-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 15 06:07:14 UTC 2024 Modified Files: src/bin/sh: jobs.c Log Message: When generating the text that identifies the command for the job tree from the parse tree data, be more intelligent about where we stick ';' characters.

CVS commit: src/bin/sh

2024-06-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 15 05:18:48 UTC 2024 Modified Files: src/bin/sh: eval.c jobs.c jobs.h Log Message: POSIX.1-2024 requires that when an async (background) job is started at the top level (ie: not in any kind of subshell environment) of an

CVS commit: src/bin/sh

2024-06-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 15 05:18:48 UTC 2024 Modified Files: src/bin/sh: eval.c jobs.c jobs.h Log Message: POSIX.1-2024 requires that when an async (background) job is started at the top level (ie: not in any kind of subshell environment) of an

CVS commit: src/bin/sh

2024-06-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 15 05:02:24 UTC 2024 Modified Files: src/bin/sh: syntax.h Log Message: This file uses CHAR_MIN so needs to be complete. While here, fix a typo in the alternate (as in #if 0'd out) version of the ISCTL() macro. NFCI. To

CVS commit: src/bin/sh

2024-06-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jun 15 05:02:24 UTC 2024 Modified Files: src/bin/sh: syntax.h Log Message: This file uses CHAR_MIN so needs to be complete. While here, fix a typo in the alternate (as in #if 0'd out) version of the ISCTL() macro. NFCI. To

CVS commit: src/bin/sh

2024-04-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Apr 16 23:30:19 UTC 2024 Modified Files: src/bin/sh: mkoptions.sh Log Message: Be more explicit with sort fields to produce consistent results with gnu sort (Jan-Benedict Glaw) To generate a diff of this commit: cvs rdiff

CVS commit: src/bin/sh

2024-04-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Apr 16 23:30:19 UTC 2024 Modified Files: src/bin/sh: mkoptions.sh Log Message: Be more explicit with sort fields to produce consistent results with gnu sort (Jan-Benedict Glaw) To generate a diff of this commit: cvs rdiff

CVS commit: src/bin/sh

2024-04-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Apr 12 19:09:50 UTC 2024 Modified Files: src/bin/sh: sh.1 Log Message: Edgar Fuß pointed out that sh(1) did not mention comments (at all). This has been true forever, and no-one else (including me) ever seems to have noticed

CVS commit: src/bin/sh

2024-04-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Apr 12 19:09:50 UTC 2024 Modified Files: src/bin/sh: sh.1 Log Message: Edgar Fuß pointed out that sh(1) did not mention comments (at all). This has been true forever, and no-one else (including me) ever seems to have noticed

CVS commit: src/bin/sh

2024-04-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Apr 6 14:20:27 UTC 2024 Modified Files: src/bin/sh: mkoptions.sh Log Message: Redo the mktemp(1) part - some mktemp's (including ours) require the 's to be at the end of the name (like mk*temp(3)) so however well it will

CVS commit: src/bin/sh

2024-04-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Apr 6 14:20:27 UTC 2024 Modified Files: src/bin/sh: mkoptions.sh Log Message: Redo the mktemp(1) part - some mktemp's (including ours) require the 's to be at the end of the name (like mk*temp(3)) so however well it will

CVS commit: src/bin/sh

2024-04-05 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Apr 5 22:22:17 UTC 2024 Modified Files: src/bin/sh: mkoptions.sh Log Message: >From Jan-Benedict Glaw: Fix a redirection and prepare a stable sort for upper-/lowercase option letters This script is a mess, I strongly

CVS commit: src/bin/sh

2024-04-05 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Apr 5 22:22:17 UTC 2024 Modified Files: src/bin/sh: mkoptions.sh Log Message: >From Jan-Benedict Glaw: Fix a redirection and prepare a stable sort for upper-/lowercase option letters This script is a mess, I strongly

CVS commit: src/bin/sh

2024-01-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jan 30 19:05:07 UTC 2024 Modified Files: src/bin/sh: jobs.c Log Message: PR bin/57894 For jobs -p for a non-job-control job, avoid just printing 0 (as there is no process group pid) and instead output what we used to, the pid

CVS commit: src/bin/sh

2024-01-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jan 30 19:05:07 UTC 2024 Modified Files: src/bin/sh: jobs.c Log Message: PR bin/57894 For jobs -p for a non-job-control job, avoid just printing 0 (as there is no process group pid) and instead output what we used to, the pid

CVS commit: src/bin/sh

2024-01-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jan 16 14:30:22 UTC 2024 Modified Files: src/bin/sh: sh.1 Log Message: Remove an ancient incorrect notion which somehow survived intact for ages. "$@" is (as it is in double quotes) not subject to field splitting. "$@"

CVS commit: src/bin/sh

2024-01-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jan 16 14:30:22 UTC 2024 Modified Files: src/bin/sh: sh.1 Log Message: Remove an ancient incorrect notion which somehow survived intact for ages. "$@" is (as it is in double quotes) not subject to field splitting. "$@"

CVS commit: src/bin/sh

2023-12-29 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Dec 29 15:49:24 UTC 2023 Modified Files: src/bin/sh: expand.c Log Message: PR bin/57773 Fix another bug reported by Jarle Fredrik Greipsland and added to PR bin/57773, which relates to calculating the length of a positional

CVS commit: src/bin/sh

2023-12-29 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Dec 29 15:49:24 UTC 2023 Modified Files: src/bin/sh: expand.c Log Message: PR bin/57773 Fix another bug reported by Jarle Fredrik Greipsland and added to PR bin/57773, which relates to calculating the length of a positional

CVS commit: src/bin/sh

2023-12-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Dec 25 04:52:38 UTC 2023 Modified Files: src/bin/sh: eval.c Log Message: PR bin/57773 Fix a bug reported by Jarle Fredrik Greipsland in PR bin/57773, where a substring expansion where the substring to be removed from a variable

CVS commit: src/bin/sh

2023-12-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Dec 25 04:52:38 UTC 2023 Modified Files: src/bin/sh: eval.c Log Message: PR bin/57773 Fix a bug reported by Jarle Fredrik Greipsland in PR bin/57773, where a substring expansion where the substring to be removed from a variable

CVS commit: src/bin/sh

2023-12-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Dec 25 02:28:47 UTC 2023 Modified Files: src/bin/sh: expand.c Log Message: Correct a bizarre piece of source formatting that crept in by accident several years ago (change a space into newline tab). NFC To generate a diff of

CVS commit: src/bin/sh

2023-12-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Dec 25 02:28:47 UTC 2023 Modified Files: src/bin/sh: expand.c Log Message: Correct a bizarre piece of source formatting that crept in by accident several years ago (change a space into newline tab). NFC To generate a diff of

CVS commit: src/bin/sh

2023-10-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 20 22:08:52 UTC 2023 Modified Files: src/bin/sh: parser.c Log Message: Work around a probably gcc12 bug in detecting "potentially clobbered" variables after longjmp() for some architectures (sh3 at least). This should allow

CVS commit: src/bin/sh

2023-10-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 20 22:08:52 UTC 2023 Modified Files: src/bin/sh: parser.c Log Message: Work around a probably gcc12 bug in detecting "potentially clobbered" variables after longjmp() for some architectures (sh3 at least). This should allow

CVS commit: src/bin/sh

2023-10-18 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Oct 19 04:27:24 UTC 2023 Modified Files: src/bin/sh: Makefile Log Message: convert gcc12 -O1 into -Wno-error=clobbered. parser.c wants all the optimisation, and this is very likely a false positive. To generate a diff of this

CVS commit: src/bin/sh

2023-10-18 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Oct 19 04:27:24 UTC 2023 Modified Files: src/bin/sh: Makefile Log Message: convert gcc12 -O1 into -Wno-error=clobbered. parser.c wants all the optimisation, and this is very likely a false positive. To generate a diff of this

CVS commit: src/bin/sh

2023-10-14 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Oct 14 06:53:56 UTC 2023 Modified Files: src/bin/sh: Makefile Log Message: the parser.c longjmp vs gcc12 issue affects a few ports, make the workaround global. To generate a diff of this commit: cvs rdiff -u -r1.121 -r1.122

CVS commit: src/bin/sh

2023-10-14 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Oct 14 06:53:56 UTC 2023 Modified Files: src/bin/sh: Makefile Log Message: the parser.c longjmp vs gcc12 issue affects a few ports, make the workaround global. To generate a diff of this commit: cvs rdiff -u -r1.121 -r1.122

CVS commit: src/bin/sh

2023-10-11 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Thu Oct 12 01:45:07 UTC 2023 Modified Files: src/bin/sh: sh.1 Log Message: sh(1): touch up markup for the ENV example Don't use Dq in a literal display, ascii quotes are \*q While here mark up as literal a few things around this

CVS commit: src/bin/sh

2023-10-11 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Thu Oct 12 01:45:07 UTC 2023 Modified Files: src/bin/sh: sh.1 Log Message: sh(1): touch up markup for the ENV example Don't use Dq in a literal display, ascii quotes are \*q While here mark up as literal a few things around this

CVS commit: src/bin/sh

2023-10-05 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Oct 5 20:33:31 UTC 2023 Modified Files: src/bin/sh: miscbltin.c Log Message: If the read builtin is told to read into IFS, we must avoid doing that until all current uses of IFS are complete (as we have IFS's value cached in

CVS commit: src/bin/sh

2023-10-05 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Oct 5 20:33:31 UTC 2023 Modified Files: src/bin/sh: miscbltin.c Log Message: If the read builtin is told to read into IFS, we must avoid doing that until all current uses of IFS are complete (as we have IFS's value cached in

CVS commit: src/bin/sh

2023-08-31 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Sep 1 01:57:54 UTC 2023 Modified Files: src/bin/sh: sh.1 Log Message: At the request of bad@ enhance the synopsis of the set built-in command to include explicit mention of the -o opt and +o opt forms. Fix the synopsis to have

CVS commit: src/bin/sh

2023-08-31 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Sep 1 01:57:54 UTC 2023 Modified Files: src/bin/sh: sh.1 Log Message: At the request of bad@ enhance the synopsis of the set built-in command to include explicit mention of the -o opt and +o opt forms. Fix the synopsis to have

CVS commit: src/bin/sh

2023-08-13 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Aug 14 03:18:15 UTC 2023 Modified Files: src/bin/sh: Makefile Log Message: use -O1 on sh3, GCC 12 and parser.c. this triggers clobbered vs. longjmp/setjmp warnings with -Os that sh3 uses. To generate a diff of this commit:

CVS commit: src/bin/sh

2023-08-13 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Aug 14 03:18:15 UTC 2023 Modified Files: src/bin/sh: Makefile Log Message: use -O1 on sh3, GCC 12 and parser.c. this triggers clobbered vs. longjmp/setjmp warnings with -Os that sh3 uses. To generate a diff of this commit:

CVS commit: src/bin/sh

2023-08-04 Thread Jan Schaumann
Module Name:src Committed By: jschauma Date: Fri Aug 4 15:31:40 UTC 2023 Modified Files: src/bin/sh: sh.1 Log Message: tyops: * redicection -> redirection * escaoed -> escaped Noted by J. Lewis Muir on netbsd-docs@ To generate a diff of this commit: cvs rdiff -u

CVS commit: src/bin/sh

2023-08-04 Thread Jan Schaumann
Module Name:src Committed By: jschauma Date: Fri Aug 4 15:31:40 UTC 2023 Modified Files: src/bin/sh: sh.1 Log Message: tyops: * redicection -> redirection * escaoed -> escaped Noted by J. Lewis Muir on netbsd-docs@ To generate a diff of this commit: cvs rdiff -u

CVS commit: src/bin/sh

2023-06-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sat Jun 24 05:17:02 UTC 2023 Modified Files: src/bin/sh: eval.c Log Message: Fix typo in a debug message. To generate a diff of this commit: cvs rdiff -u -r1.189 -r1.190 src/bin/sh/eval.c Please note that diffs are not public

CVS commit: src/bin/sh

2023-06-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sat Jun 24 05:17:02 UTC 2023 Modified Files: src/bin/sh: eval.c Log Message: Fix typo in a debug message. To generate a diff of this commit: cvs rdiff -u -r1.189 -r1.190 src/bin/sh/eval.c Please note that diffs are not public

CVS commit: src/bin/sh

2023-04-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Apr 7 10:42:28 UTC 2023 Modified Files: src/bin/sh: memalloc.c Log Message: Remove an end of file trailing blank line that served no purpose. NFCI To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39

CVS commit: src/bin/sh

2023-04-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Apr 7 10:42:28 UTC 2023 Modified Files: src/bin/sh: memalloc.c Log Message: Remove an end of file trailing blank line that served no purpose. NFCI To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39

CVS commit: src/bin/sh

2023-04-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Apr 7 10:34:13 UTC 2023 Modified Files: src/bin/sh: eval.c histedit.c jobs.c jobs.h main.c memalloc.c mktokens mystring.c output.c parser.c show.c src/bin/sh/funcs: dirs popd pushd Log Message: The great

CVS commit: src/bin/sh

2023-04-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Apr 7 10:34:13 UTC 2023 Modified Files: src/bin/sh: eval.c histedit.c jobs.c jobs.h main.c memalloc.c mktokens mystring.c output.c parser.c show.c src/bin/sh/funcs: dirs popd pushd Log Message: The great

CVS commit: src/bin/sh

2023-03-21 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Mar 21 08:31:30 UTC 2023 Modified Files: src/bin/sh: error.h Log Message: Use "sigjmp_buf loc" after switch to sigsetjmp()/siglongjmp(). Fixes errors and aborts on sparc at least. To generate a diff of this commit: cvs

CVS commit: src/bin/sh

2023-03-21 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Mar 21 08:31:30 UTC 2023 Modified Files: src/bin/sh: error.h Log Message: Use "sigjmp_buf loc" after switch to sigsetjmp()/siglongjmp(). Fixes errors and aborts on sparc at least. To generate a diff of this commit: cvs

CVS commit: src/bin/sh

2023-03-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 19 17:55:57 UTC 2023 Modified Files: src/bin/sh: error.c exec.c Log Message: Do a better job handling EACCES errors from exec() calls. If the EACCES is from the namei(), treat it just like ENOENT or ENOTDIR (and if that is

CVS commit: src/bin/sh

2023-03-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 19 17:55:57 UTC 2023 Modified Files: src/bin/sh: error.c exec.c Log Message: Do a better job handling EACCES errors from exec() calls. If the EACCES is from the namei(), treat it just like ENOENT or ENOTDIR (and if that is

CVS commit: src/bin/sh

2023-03-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 19 17:47:48 UTC 2023 Modified Files: src/bin/sh: error.h Log Message: Switch from using _setjmp()/_longjmp() (on BSD systems which aren't SVR4) (and setjmp()/longjmp() elsewhere) to using sigsetjmp()/siglongjmp() everywhere.

CVS commit: src/bin/sh

2023-03-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 19 17:47:48 UTC 2023 Modified Files: src/bin/sh: error.h Log Message: Switch from using _setjmp()/_longjmp() (on BSD systems which aren't SVR4) (and setjmp()/longjmp() elsewhere) to using sigsetjmp()/siglongjmp() everywhere.

CVS commit: src/bin/sh

2023-03-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 19 17:45:30 UTC 2023 Modified Files: src/bin/sh: error.h Log Message: Change a few #defines from octal to hex (pdp11 days are long gone). Improve the layout of those definitions at the same time. NFC. To generate a diff

CVS commit: src/bin/sh

2023-03-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 19 17:45:30 UTC 2023 Modified Files: src/bin/sh: error.h Log Message: Change a few #defines from octal to hex (pdp11 days are long gone). Improve the layout of those definitions at the same time. NFC. To generate a diff

CVS commit: src/bin/sh

2023-03-05 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Mar 6 05:54:34 UTC 2023 Modified Files: src/bin/sh: expand.c Log Message: Adjust tilde expansion as will be documented in the forthcoming version of the POSIX standard (Issue 8). I believe we were already compliant with what

CVS commit: src/bin/sh

2023-03-05 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Mar 6 05:54:34 UTC 2023 Modified Files: src/bin/sh: expand.c Log Message: Adjust tilde expansion as will be documented in the forthcoming version of the POSIX standard (Issue 8). I believe we were already compliant with what

CVS commit: src/bin/sh

2023-02-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Feb 24 19:04:54 UTC 2023 Modified Files: src/bin/sh: alias.c Log Message: Allow (but do not require) the magic '--' option terminator in the builtin 'alias' command. This allows portability (not that anyone should really care

CVS commit: src/bin/sh

2023-02-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Feb 24 19:04:54 UTC 2023 Modified Files: src/bin/sh: alias.c Log Message: Allow (but do not require) the magic '--' option terminator in the builtin 'alias' command. This allows portability (not that anyone should really care

CVS commit: src/bin/sh

2022-12-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Dec 20 17:51:54 UTC 2022 Modified Files: src/bin/sh: sh.1 Log Message: More markup errors. \+ was intended to be \&+ and .EV .Ev of course. As best I can tell, the rest of what mandoc -Wall complains about is incorrect (it

CVS commit: src/bin/sh

2022-12-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Dec 20 17:51:54 UTC 2022 Modified Files: src/bin/sh: sh.1 Log Message: More markup errors. \+ was intended to be \&+ and .EV .Ev of course. As best I can tell, the rest of what mandoc -Wall complains about is incorrect (it

CVS commit: src/bin/sh

2022-12-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Dec 20 16:48:57 UTC 2022 Modified Files: src/bin/sh: sh.1 Log Message: Using .Cm Cm makes no sense at all - no idea what I was thinking there (perhaps just an editing error). To generate a diff of this commit: cvs rdiff -u

CVS commit: src/bin/sh

2022-12-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Dec 20 16:48:57 UTC 2022 Modified Files: src/bin/sh: sh.1 Log Message: Using .Cm Cm makes no sense at all - no idea what I was thinking there (perhaps just an editing error). To generate a diff of this commit: cvs rdiff -u

CVS commit: src/bin/sh

2022-12-19 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Dec 20 01:18:42 UTC 2022 Modified Files: src/bin/sh: sh.1 Log Message: sh(1): Fix markup. -compact must be last. To generate a diff of this commit: cvs rdiff -u -r1.252 -r1.253 src/bin/sh/sh.1 Please note that diffs are not

CVS commit: src/bin/sh

2022-12-19 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Dec 20 01:18:42 UTC 2022 Modified Files: src/bin/sh: sh.1 Log Message: sh(1): Fix markup. -compact must be last. To generate a diff of this commit: cvs rdiff -u -r1.252 -r1.253 src/bin/sh/sh.1 Please note that diffs are not

CVS commit: src/bin/sh

2022-12-11 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Dec 11 08:23:11 UTC 2022 Modified Files: src/bin/sh: miscbltin.c sh.1 Log Message: It appears that POSIX intends to add a -d X option to the read command in its next version, so it can be used as -d '' (to specify a \0 end

CVS commit: src/bin/sh

2022-12-11 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Dec 11 08:23:11 UTC 2022 Modified Files: src/bin/sh: miscbltin.c sh.1 Log Message: It appears that POSIX intends to add a -d X option to the read command in its next version, so it can be used as -d '' (to specify a \0 end

CVS commit: src/bin/sh

2022-10-29 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Oct 30 01:46:17 UTC 2022 Modified Files: src/bin/sh: jobs.c Log Message: PR bin/57053 is related (peripherally) here. sh has been remembering the process group of a job for a while now, but using that for almost nothing. The

CVS commit: src/bin/sh

2022-10-29 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Oct 30 01:46:17 UTC 2022 Modified Files: src/bin/sh: jobs.c Log Message: PR bin/57053 is related (peripherally) here. sh has been remembering the process group of a job for a while now, but using that for almost nothing. The

CVS commit: src/bin/sh

2022-10-29 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Oct 30 01:19:08 UTC 2022 Modified Files: src/bin/sh: sh.1 Log Message: Note in the description of "jobs -p" that the process id returned is also the process group identifier (that's a requirement from POSIX, and is what we have

CVS commit: src/bin/sh

2022-10-29 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Oct 30 01:19:08 UTC 2022 Modified Files: src/bin/sh: sh.1 Log Message: Note in the description of "jobs -p" that the process id returned is also the process group identifier (that's a requirement from POSIX, and is what we have

CVS commit: src/bin/sh

2022-09-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Sep 18 17:11:33 UTC 2022 Modified Files: src/bin/sh: var.c Log Message: Oops, somehow managed to commit an older version where NBSH_INVOCATION start char was '@' rather than '!' (which meant not lexically ordered). This is how

CVS commit: src/bin/sh

2022-09-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Sep 18 17:11:33 UTC 2022 Modified Files: src/bin/sh: var.c Log Message: Oops, somehow managed to commit an older version where NBSH_INVOCATION start char was '@' rather than '!' (which meant not lexically ordered). This is how

CVS commit: src/bin/sh

2022-09-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Sep 18 06:03:19 UTC 2022 Modified Files: src/bin/sh: main.c option.list options.c sh.1 var.c var.h Log Message: Add the -l option (aka -o login): be a login shell. Meaningful only on the command line (with both - and + forms)

CVS commit: src/bin/sh

2022-09-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Sep 18 06:03:19 UTC 2022 Modified Files: src/bin/sh: main.c option.list options.c sh.1 var.c var.h Log Message: Add the -l option (aka -o login): be a login shell. Meaningful only on the command line (with both - and + forms)

CVS commit: src/bin/sh

2022-09-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Sep 16 19:25:10 UTC 2022 Modified Files: src/bin/sh: sh.1 Log Message: More wording improvements. There might be more to come. To generate a diff of this commit: cvs rdiff -u -r1.248 -r1.249 src/bin/sh/sh.1 Please note that

CVS commit: src/bin/sh

2022-09-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Sep 16 19:25:10 UTC 2022 Modified Files: src/bin/sh: sh.1 Log Message: More wording improvements. There might be more to come. To generate a diff of this commit: cvs rdiff -u -r1.248 -r1.249 src/bin/sh/sh.1 Please note that

CVS commit: src/bin/sh

2022-09-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Sep 16 17:32:18 UTC 2022 Modified Files: src/bin/sh: sh.1 Log Message: Minor wording improvements. Note these do not alter anything about what the man page specifies, just say a couple of things in a slightly better way, hence

CVS commit: src/bin/sh

2022-09-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Sep 16 17:32:18 UTC 2022 Modified Files: src/bin/sh: sh.1 Log Message: Minor wording improvements. Note these do not alter anything about what the man page specifies, just say a couple of things in a slightly better way, hence

CVS commit: src/bin/sh

2022-09-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Sep 16 17:29:21 UTC 2022 Modified Files: src/bin/sh: sh.1 Log Message: Move a comment that used to be in the correct place, once upon a time, back where it belongs, and make it stand out more, so other text is less likely to

CVS commit: src/bin/sh

2022-09-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Sep 16 17:29:21 UTC 2022 Modified Files: src/bin/sh: sh.1 Log Message: Move a comment that used to be in the correct place, once upon a time, back where it belongs, and make it stand out more, so other text is less likely to

CVS commit: src/bin/sh

2022-09-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Sep 16 17:25:09 UTC 2022 Modified Files: src/bin/sh: sh.1 Log Message: Whitespace. To generate a diff of this commit: cvs rdiff -u -r1.245 -r1.246 src/bin/sh/sh.1 Please note that diffs are not public domain; they are subject

CVS commit: src/bin/sh

2022-09-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Sep 16 17:25:09 UTC 2022 Modified Files: src/bin/sh: sh.1 Log Message: Whitespace. To generate a diff of this commit: cvs rdiff -u -r1.245 -r1.246 src/bin/sh/sh.1 Please note that diffs are not public domain; they are subject

  1   2   3   >