History log of /src/bin/sh/mystring.c |
Revision | | Date | Author | Comments |
1.21 |
| 13-Jul-2024 |
kre | Implement the HISTFILE and HISTAPPEND variables.
See the (newly updated) sh(1) for details. Also add the -z option to fc (clear history).
None of this exists in SMALL shells.
|
1.20 |
| 07-Apr-2023 |
kre | branches: 1.20.2;
The great shell trailing whitespace cleanup of 2023... Inspired by private e-mail comments from mouse@
NFCI.
|
1.19 |
| 16-Apr-2022 |
kre | Avoid generating error messages implying that user errors are illegal.
|
1.18 |
| 13-Jul-2018 |
kre | Remove atoi()
Mostly use number() (no longer implemented using atoi()) when an unsigned integer is required, but use strtoXXX() when a conversion is wanted, without the possibility or error (like setting OPTIND and RANDOM). Always init OPTIND to 1 when sh starts (overriding anything in environ.)
|
1.17 |
| 28-Apr-2013 |
dholland | branches: 1.17.22; 1.17.28; 1.17.30; Add const.
|
1.16 |
| 07-Aug-2003 |
agc | branches: 1.16.54; 1.16.60; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
|
1.15 |
| 24-Nov-2002 |
christos | Fixes from David Laight: - ansification - format of output of jobs command (etc) - job identiers %+, %- etc - $? and $(...) - correct quoting of output of set, export -p and readonly -p - differentiation between nornal and 'posix special' builtins - correct behaviour (posix) for errors on builtins and special builtins - builtin printf and kill - set -o debug (if compiled with DEBUG) - cd src obj (as ksh - too useful to do without) - unset -e name, remove non-readonly variable from export list. (so I could unset -e PS1 before running the test shell...)
|
1.14 |
| 09-Jul-1999 |
christos | compile with WARNS = 2
|
1.13 |
| 04-Jul-1997 |
christos | Fix compiler warnings.
|
1.12 |
| 11-Jan-1997 |
tls | kill 'register'
|
1.11 |
| 16-Oct-1996 |
christos | PR/2808: Kill use of error2() (from FreeBSD)
|
1.10 |
| 11-May-1995 |
christos | branches: 1.10.6; Merge in my changes from vangogh, and fix the x=`false`; echo $? == 0 bug.
|
1.9 |
| 21-Mar-1995 |
cgd | convert to new RCS id conventions.
|
1.8 |
| 11-Jun-1994 |
mycroft | Add RCS ids.
|
1.7 |
| 12-May-1994 |
jtc | Include appropriate header files to bring function prototypes into scope.
|
1.6 |
| 11-May-1994 |
jtc | sync with 4.4lite
|
1.5 |
| 04-May-1994 |
jtc | Remove private versions of strchr() & bcopy(); there is nothing wrong with the versions in our C library.
|
1.4 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.3 |
| 23-Mar-1993 |
cgd | changed "Id" to "Header" for rcsids
|
1.2 |
| 22-Mar-1993 |
cgd | added rcs ids to all files
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 11-May-1994 |
jtc | 44lite code
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.10.6.1 |
| 26-Jan-1997 |
rat | Update /bin/sh from trunk per request of Christos Zoulas. Fixes many bugs.
|
1.16.60.1 |
| 23-Jun-2013 |
tls | resync from head
|
1.16.54.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.17.30.3 |
| 21-Apr-2020 |
martin | Ooops, restore accidently removed files from merge mishap
|
1.17.30.2 |
| 21-Apr-2020 |
martin | Sync with HEAD
|
1.17.30.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.17.28.1 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|
1.17.22.1 |
| 25-Aug-2018 |
martin | Pull up following revision(s) (requested by kre in ticket #988):
bin/sh/parser.c: revision 1.147 bin/sh/var.c: revision 1.70 bin/sh/mystring.c: revision 1.18 bin/sh/options.c: revision 1.53 bin/sh/histedit.c: revision 1.53
Remove atoi()
Mostly use number() (no longer implemented using atoi()) when an unsigned integer is required, but use strtoXXX() when a conversion is wanted, without the possibility or error (like setting OPTIND and RANDOM). Always init OPTIND to 1 when sh starts (overriding anything in environ.)
|
1.20.2.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|