| Age | Commit message (Expand) | Author |
| 2025-07-01 | sh(1): Do not interpret chdir to "" as equivalent to chdir with no argument | Xin LI |
| 2023-11-26 | bin: Automated cleanup of cdefs and other formatting | Warner Losh |
| 2023-11-26 | bin: Remove ancient SCCS tags. | Warner Losh |
| 2023-08-16 | Remove $FreeBSD$: one-line .c pattern | Warner Losh |
| 2020-01-01 | sh: Fix rare memory leak with SIGINT | Jilles Tjoelker |
| 2018-07-15 | sh: Don't treat % specially in CDPATH | Jilles Tjoelker |
| 2017-06-25 | sh: Ignore error when cd writes the directory actually switched to. | Jilles Tjoelker |
| 2017-02-28 | Renumber copyright clause 4 | Warner Losh |
| 2016-01-24 | sh: Remove a global variable from cd.c. | Jilles Tjoelker |
| 2016-01-23 | sh: Use OLDPWD shell variable for 'cd -'. | Jilles Tjoelker |
| 2015-02-15 | sh: Prefer "" to nullstr where possible. | Jilles Tjoelker |
| 2015-02-15 | sh: Add stsavestr(), like savestr() but allocates using stalloc(). | Jilles Tjoelker |
| 2013-11-30 | sh: Prefer memcpy() to strcpy() in most cases. Remove the scopy macro. | Jilles Tjoelker |
| 2012-09-15 | sh: Prefer internal nextopt() to libc getopt(). | Jilles Tjoelker |
| 2012-01-13 | sh: Properly show "Not a directory" error in cd builtin. | Jilles Tjoelker |
| 2011-06-13 | sh: Fix duplicate prototypes for builtins. | Jilles Tjoelker |
| 2011-05-27 | sh: Correct criterion for using CDPATH in cd. | Jilles Tjoelker |
| 2011-05-25 | sh: Show errno messages in cd. | Jilles Tjoelker |
| 2011-05-20 | sh: Implement the cd -e flag proposed for the next POSIX issue. | Jilles Tjoelker |
| 2010-12-21 | sh: Add a function to print warnings (with command name and newline). | Jilles Tjoelker |
| 2010-11-23 | sh: Code size optimizations to "stack string" memory allocation: | Jilles Tjoelker |
| 2010-11-22 | sh: Fix confusing behaviour if chdir succeeded but getcwd failed in cd -P. | Jilles Tjoelker |
| 2010-10-13 | In the spirit of r90111, depend on c89 and remove the "STATIC" macro | David E. O'Brien |
| 2010-10-13 | Consistently use "STATIC" for all functions in order to be able to set | David E. O'Brien |
| 2010-04-17 | sh: On startup of the shell, use PWD from the environment if it is valid. | Jilles Tjoelker |
| 2009-12-27 | sh: Various warning fixes (from WARNS=6 NO_WERROR=1): | Jilles Tjoelker |
| 2009-12-24 | sh: Constify various strings. | Jilles Tjoelker |
| 2009-11-21 | Handle current work directories of arbitrary length. The argument to cd | Stefan Farfeleder |
| 2008-02-24 | Split updatepwd() into two smaller functions. The first one, findpwd(), | Stefan Farfeleder |
| 2006-06-12 | Don't strip a leading ./ from the path for the cd builtin to avoid interpreting | Stefan Farfeleder |
| 2004-04-06 | Remove clause 3 from the UCB licenses. | Mark Murray |
| 2003-07-05 | Changes following CScout analysis: | Diomidis Spinellis |
| 2002-07-25 | Add a -P/-o physical option which behaves similarly to bash/ksh's options | Tim J. Robbins |
| 2002-07-25 | Set opterr to zero to avoid duplicate warnings from getopt(3) for unknown | Tim J. Robbins |
| 2002-07-25 | Use PATH_MAX instead of a local guess at it, which happened to be incorrect. | Tim J. Robbins |
| 2002-07-25 | pwdcmd()'s argc and argv arguments are no longer unused, remove __unused. | Tim J. Robbins |
| 2002-07-19 | Remove broken and incomplete support for old releases of System V, | Tim J. Robbins |
| 2002-06-30 | Consistently use FBSDID | David E. O'Brien |
| 2002-05-22 | Bring back the cd -L and -P options from revision 1.24, but try harder not | Tim J. Robbins |
| 2002-05-22 | Temporarily back out revision 1.24; it seems to handle the case where the | Tim J. Robbins |
| 2002-05-20 | Add the SUSv3 -L and -P options to the cd and pwd builtin utilities. `Logical' | Tim J. Robbins |
| 2002-05-19 | Remove a small, annoying, nit I ran in to editing this file, a lone tab | Juli Mallett |
| 2002-02-02 | o __P has been reoved | Warner Losh |
| 2001-11-07 | Don't call setvar() with the VTEXTFIXED flag. A copy is created by | Tor Egge |
| 1999-11-29 | Include strerror(errno) in error messages after failed system calls. | Martin Cracauer |
| 1999-08-27 | $Id$ -> $FreeBSD$ | Peter Wemm |
| 1998-09-06 | Don't blindly eliminate `..' and the previous pathname component. | Tor Egge |
| 1998-05-18 | Add rcsid. Spelling. | Philippe Charnier |
| 1997-05-19 | Use the __unused attribute where warranted. | Steve Price |
| 1997-04-28 | Nuke register keyword usage and #if -> #ifdef. | Steve Price |