History log of /netbsd-src/bin/sh/mystring.c (Results 1 – 21 of 21)
Revision Date Author Comments
# c591669f 13-Jul-2024 kre <kre@NetBSD.org>

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.


# 0827e1f9 07-Apr-2023 kre <kre@NetBSD.org>

The great shell trailing whitespace cleanup of 2023...
Inspired by private e-mail comments from mouse@

NFCI.


# 94d6cf1c 16-Apr-2022 kre <kre@NetBSD.org>

Avoid generating error messages implying that user errors are illegal.


# c6c29888 13-Jul-2018 kre <kre@NetBSD.org>

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 se

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.)

show more ...


# 7e346d08 28-Apr-2013 dholland <dholland@NetBSD.org>

Add const.


# b5b29542 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.


# c02b3bbd 24-Nov-2002 christos <christos@NetBSD.org>

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
- differentia

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...)

show more ...


# 3d424690 09-Jul-1999 christos <christos@NetBSD.org>

compile with WARNS = 2


# cd799663 04-Jul-1997 christos <christos@NetBSD.org>

Fix compiler warnings.


# 48250187 11-Jan-1997 tls <tls@NetBSD.org>

kill 'register'


# 14185e51 16-Oct-1996 christos <christos@NetBSD.org>

PR/2808: Kill use of error2() (from FreeBSD)


# 07bae7ed 11-May-1995 christos <christos@NetBSD.org>

Merge in my changes from vangogh, and fix the x=`false`; echo $? == 0
bug.


# 49f0ad86 21-Mar-1995 cgd <cgd@NetBSD.org>

convert to new RCS id conventions.


# cafd1f7e 11-Jun-1994 mycroft <mycroft@NetBSD.org>

Add RCS ids.


# a81e4124 12-May-1994 jtc <jtc@NetBSD.org>

Include appropriate header files to bring function prototypes into scope.


# 37ed7877 11-May-1994 jtc <jtc@NetBSD.org>

sync with 4.4lite


# c1954f27 04-May-1994 jtc <jtc@NetBSD.org>

Remove private versions of strchr() & bcopy(); there is nothing wrong with
the versions in our C library.


# 8542364e 01-Aug-1993 mycroft <mycroft@NetBSD.org>

Add RCS identifiers.


# 06be6008 23-Mar-1993 cgd <cgd@NetBSD.org>

changed "Id" to "Header" for rcsids


# 346aa5dd 22-Mar-1993 cgd <cgd@NetBSD.org>

added rcs ids to all files


# 61f28255 21-Mar-1993 cgd <cgd@NetBSD.org>

initial import of 386bsd-0.1 sources