summaryrefslogtreecommitdiff
path: root/bin/sh/var.c
AgeCommit message (Expand)Author
2022-09-18Oops, somehow managed to commit an older version where NBSH_INVOCATIONkre
2022-09-18Add the -l option (aka -o login): be a login shell. Meaningful only onkre
2021-08-09Fix the fix to a typo in one of the comments.kre
2021-08-08s/varable/variable s/explictly/explicitly/ s/proerly/properly/ in comments.andvar
2019-02-14Add the "specialvar" built-in command. Discussed (well, mentionedkre
2019-02-09DTRT when dynamically generated variables return "unset" instead ofkre
2019-02-09INTON / INTOFF audit and cleanup.kre
2019-01-21Fix an off by one buffer length problem. Fortunately, it was off bykre
2018-12-12Implement:kre
2018-12-12Fix a botch made in 1.70 (a bit over a week ago) wherekre
2018-12-04Alter a design botch when magic (self modifying) variableskre
2018-12-03Fix "export -x" (and its consequences) to behave as originallykre
2018-07-13Remove atoi()kre
2017-11-19Implement the -X option - an apparent variant of -x which sends all tracekre
2017-10-28Extract the variable name validity test from setname() into akre
2017-08-31Fix a bug noticed by Soren Jacobsen running the netbsd-6-0 build.sh whichkre
2017-07-24NFC: DEBUG mode only change - add a little more tracing.kre
2017-07-12Fix a reference after free (and consequent nonsense diagnostic forkre
2017-07-05DEBUG only changes. Convert the TRACE() calls in the remaining fileskre
2017-06-30Implement a bunch of new shell environment variables. many mostly usefulkre
2017-06-28Now libedit supports embedded mode switch sequence, improve shkre
2017-06-27Properly support EDITRC - use it as (naming) the file when settingkre
2017-06-17Cosmetic changes to variable flags - make their values more suitedkre
2017-06-17s/volatile/const/ -- wonderful how opposites attract like this.kre
2017-06-07Unbreak (at least) i386 build .... I have no idea why this built for me onkre
2017-06-07A better LINENO implementation. This version deletes (well, #if 0's out)kre
2017-06-07An initial attempt at implementing LINENO to meet the specs.kre
2017-05-27More standard (and saner) implementation of the ! reserved word.kre
2017-05-27It turns out that most shells do not do variable value/attributekre
2017-05-14Make ${NETBSD_SHELL} value include (a human recognisable form of)kre
2017-05-10I noticed!kre
2017-05-03Make "export VAR" work correctly ... if VAR was unset before thiskre
2017-04-29Fix several problems with the implementation of the "trap" commandkre
2016-03-31Implement the NETBSD_SHELL readonly unexportable unimportablechristos
2016-03-27General KNF and source code cleanups, avoid scattering thechristos
2016-03-08Move the PPID installation to the init() section.christos
2016-03-08- don't export $PPID (from kre)christos
2016-03-08Provide $PPID, kill vvers (unused)christos
2015-05-26Drop privileges when executed set{u,g}id unless -p is specified like otherchristos
2013-11-01PR/48312: Dieter Roelands: According to TOG, unset should not return an errorchristos
2012-12-13PR/47317: Henning Petersen: Replace index() with strchr()christos
2012-03-28include <limits.h> for CHAR_MIN/CHAR_MAXchristos
2011-06-18PR/45069: Henning Petersen: Use prototypes from builtins.h .christos
2008-10-16Use "extern" properly for referencing globals defined in other modules.dholland
2006-12-18fix a volatile variable; from Anon Ymouschristos
2006-04-24It's "its."snj
2004-10-06Fix a bug introduced by previous commit. It breaks export commandenami
2004-10-02Save the length of each variable in the name table so that we candsl
2003-08-26Include strings.h, needed for index's prototype.jmmv
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc