#
0b8224d1 |
|
24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove copyright strings ifdef'd out We've ifdef'd out the copyright strings for some time now. Go ahead and remove the ifdefs. Plus whatever other detritis was left over from other recent removals. These copyright strings are present in the comments and are largely from CSRG's attempt at adding their copyright to every binary file (which modern interpretations of the license doesn't require). Sponsored by: Netflix
|
#
90aea514 |
|
23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
bin: Remove ancient SCCS tags. Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
|
#
1d386b48 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
2178e8c2 |
|
07-Jun-2023 |
Daniel Kolesa <q66@chimera-linux.org> |
sh: make smark a static variable instead of a local in main() We are modifying it after setjmp and then accessing it after the jump, so it cannot be a local. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D40415
|
#
fa6fa98a |
|
03-Jun-2023 |
Daniel Kolesa <q66@chimera-linux.org> |
sh(1): initialize smark to zero in main() As popstackmark may be called on this without pushstackmark having been called, we need to initialize it so that we don't get a bogus comparison inside popstackmark, which would have resulted in a NULL pointer dereference. MFC After: 3 days Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D40413
|
#
d2c23317 |
|
23-Sep-2021 |
Stephane Rochoy <stephane.rochoy@stormshield.eu> |
sh: Add -o verify to use O_VERIFY when sourcing scripts Add -o verify to sh to make it use O_VERIFY when sourcing scripts and reading profiles. Useful in conjunction with mac_veriexec to help protect at least some parts of the boot sequence, e.g., /etc/rc*. Differential revision: https://reviews.freebsd.org/D30464 Reviewed by: jilles, sjg Obtained from: Stormshield
|
#
988b1bb0 |
|
30-Mar-2021 |
Baptiste Daroussin <bapt@FreeBSD.org> |
sh: implement persistent history storage Implement persistent history storage: the strategy is simple at start: loads the existing .sh_history file at exit dump it. The implementation respects the HISTFILE variable and its POSIX definition: ~/.sh_history is used if HISTFILE is not set. to avoid sh to create the history file, set HISTSIZE to 0 or HISTFILE to en empty value Co-authored-by: pstef Reviewed by: jilles Differential Revision: https://reviews.freebsd.org/D29493
|
#
1cffe8b8 |
|
28-Aug-2020 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Keep ignored SIGINT/SIGQUIT after set in a background job If job control is not enabled, a background job (... &) ignores SIGINT and SIGQUIT, but this can be reverted using the trap builtin in the same shell environment. Using the set builtin to change options would also revert SIGINT and SIGQUIT to their previous dispositions. This broke due to r317298. Calling setsignal() reverts the effect of ignoresig(). Reported by: bdrewery MFC after: 1 week
|
#
9b2a9780 |
|
27-Jul-2020 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
sh(1): print a newline when ^D quits sh I've always found this a little bit confusing: > sh $ ^D> sh $ ^D> Reviewed by: 0mp, jilles MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D25813
|
#
bb324af6 |
|
09-Nov-2018 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Unify EXERROR and EXEXEC The difference between EXERROR and EXEXEC was that EXEXEC passed along exitstatus and EXERROR set exitstatus to 2 in the handling code. By changing the places that raised EXERROR to set exitstatus to 2, the handling of EXERROR and EXEXEC becomes the same.
|
#
b5532964 |
|
27-Oct-2018 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Use exitstatus instead of exerrno to pass EXEXEC status No functional change is intended.
|
#
4600b569 |
|
15-Jul-2018 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Don't treat % specially in CDPATH
|
#
8a16b7a1 |
|
20-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
General further adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point.
|
#
fbbd9655 |
|
28-Feb-2017 |
Warner Losh <imp@FreeBSD.org> |
Renumber copyright clause 4 Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96
|
#
bc7f6652 |
|
09-May-2014 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Add more necessary INTOFF/INTON.
|
#
2935c4cc |
|
04-Sep-2013 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Make return return from the closest function or dot script. Formerly, return always returned from a function if it was called from a function, even if there was a closer dot script. This was for compatibility with the Bourne shell which only allowed returning from functions. Other modern shells and POSIX return from the function or the dot script, whichever is closest. Git 1.8.4's rebase --continue depends on the POSIX behaviour. Reported by: Christoph Mallon, avg
|
#
9bb8ccd6 |
|
16-Aug-2013 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Remove unnecessary reset functions. These are already handled by exception handlers.
|
#
338b821b |
|
25-Jul-2013 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Remove mkinit. Replace the RESET blocks with regular functions and a reset() function that calls them all. This code generation tool is unusual and does not appear to provide much benefit. I do not think isolating the knowledge about which modules need to be reset is worth an almost 500-line build tool and wider scope for variables used by the reset functions. Also, relying on reset functions is often wrong: the cleanup should be done in exception handlers so that no stale state remains after 'command eval' and the like.
|
#
fd7d6d8a |
|
12-Jul-2013 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Do not read from stdin if an error occurs during -i -c cmd. Although using -i with -c does not seem very useful, it seems inappropriate to read commands from the terminal in this case. Side effect: if the -s -c extension is used and the -s option is turned off using 'set +s' during the interactive part, the shell now exits after an error or interrupt. Note that POSIX only specifies -s as option to sh, not to set. See also Austin Group issue #718.
|
#
5aa6dfda |
|
05-May-2013 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Use O_CLOEXEC and F_DUPFD_CLOEXEC instead of separate fcntl() call.
|
#
46c6b52d |
|
01-Apr-2013 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Fix various compiler warnings. It now passes WARNS=7 with clang on i386. GCC 4.2.1 does not understand setjmp() properly so will always trigger -Wuninitialized. I will not add the volatile keywords to suppress this.
|
#
25e0f0f5 |
|
23-Feb-2013 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: If a SIGINT or SIGQUIT interrupts "wait", return status 128+sig.
|
#
59e0cc8e |
|
19-Jan-2013 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Remove mkinit's initialization routine. Instead, call the only init function left directly from main().
|
#
d902a66b |
|
14-Sep-2012 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Reduce code duplication: use setinputfile instead of open/setinputfd combination. MFC after: 2 weeks
|
#
260fc3f4 |
|
01-Jan-2012 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Make various functions static.
|
#
454a02b3 |
|
13-Jun-2011 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Fix duplicate prototypes for builtins. Have mkbuiltins write the prototypes for the *cmd functions to builtins.h instead of builtins.c and include builtins.h in more .c files instead of duplicating prototypes for *cmd functions in other headers.
|
#
c5f4fe06 |
|
12-Jun-2011 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Read .profile from the home directory (or / if HOME is not set). In most cases, login shells are started from the home directory, but not in all, such as xterm -ls. This commit depends on r222957 for read_profile() performing parameter expansion. PR: bin/50569
|
#
1a62d884 |
|
10-Jun-2011 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Do parameter expansion on ENV before using it. This is required by POSIX, and allows things like ENV=\$HOME/.shrc. Note that tilde expansion is explicitly not performed.
|
#
47a5ab29 |
|
04-Jun-2011 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Reduce more needless differences between error messages.
|
#
c9e93e67 |
|
21-May-2011 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Fix bss-based buffer overflow in . builtin. If the length of a directory in PATH together with the given filename exceeded FILENAME_MAX (which may happen even for pathnames that work), a static buffer was overflown. The static buffer is unnecessary, we can use the stalloc() stack. Obtained from: NetBSD MFC after: 1 week
|
#
07eb7033 |
|
08-May-2011 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Add \u/\U support (in $'...') for UTF-8. Because we have no iconv in base, support for other charsets is not possible. Note that \u/\U are processed using the locale that was active when the shell started. This is necessary to avoid behaviour that depends on the parse/execute split (for example when placing braces around an entire script). Therefore, UTF-8 encoding is implemented manually.
|
#
6ed74a0a |
|
06-May-2011 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Track if the current locale's charset is UTF-8 or not.
|
#
45496405 |
|
23-Apr-2011 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Allow EV_EXIT through function calls, make {...} <redir more consistent. If EV_EXIT causes an exit, use the exception mechanism to unwind redirections and local variables. This way, if the final command is a redirected command, an EXIT trap now executes without the redirections. Because of these changes, EV_EXIT can now be inherited by the body of a function, so do so. This means that a function no longer prevents a fork before an exec being skipped, such as in f() { head -1 /etc/passwd; }; echo $(f) Wrapping a single builtin in a function may still cause an otherwise unnecessary fork with command substitution, however. An exit command or -e failure still invokes the EXIT trap with the original redirections and local variables in place. Note: this depends on SHELLPROC being gone. A SHELLPROC depended on keeping the redirections and local variables and only cleaning up the state to restore them.
|
#
3835f47c |
|
04-Feb-2011 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Remove special code for shell scripts without magic number. These are called "shell procedures" in the source. If execve() failed with [ENOEXEC], the shell would reinitialize itself and execute the program as a script. This requires a fair amount of code which is not frequently used (most scripts have a #! magic number). Therefore just execute a new instance of sh (_PATH_BSHELL) to run the script.
|
#
70df11ea |
|
08-Jan-2011 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Make exit without parameters from EXIT trap POSIX-compliant. It should use the original exit status, just like falling off the end of the trap handler. Outside an EXIT trap, 'exit' is still equivalent to 'exit $?'.
|
#
aeb5d065 |
|
20-Nov-2010 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Code size optimizations to buffered output. This is mainly less use of the outc macro. No functional change is intended, but code size is about 2K less on i386.
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
88328642 |
|
13-Oct-2010 |
David E. O'Brien <obrien@FreeBSD.org> |
In the spirit of r90111, depend on c89 and remove the "STATIC" macro and its usage.
|
#
ae7c0700 |
|
15-Aug-2010 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Fix break/continue/return sometimes not skipping the rest of dot script. In our implementation and most others, a break or continue in a dot script can break or continue a loop outside the dot script. This should cause all further commands in the dot script to be skipped. However, cmdloop() did not know about this and continued to parse and execute commands from the dot script. As described in the man page, a return in a dot script in a function returns from the function, not only from the dot script. There was a similar issue as with break and continue. In various other shells, the return appears to return from the dot script, but POSIX seems not very clear about this.
|
#
c1564db0 |
|
28-May-2010 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Recognize "--" in . and exec. Although "--" historically has not been required to be recognized for certain special builtins that do not take options in POSIX, some other implementations recognize options for them, requiring scripts to use "--" or avoid operands starting with "-". Operands starting with "-" can be avoided with eval by prepending a space, and cannot occur with break, continue, exit, return and shift as they only take numbers, nor with times as it does not take operands. With . and exec, avoiding "-" is not so easy as it may require reimplementing the PATH search; therefore the current proposal for POSIX is to require recognition of "--" for them. We continue to accept other strings starting with "-" as operands to . and exec, and also "--" if it is alone to . (which would otherwise be invalid anyway).
|
#
f08f4ed3 |
|
20-Apr-2010 |
Jilles Tjoelker <jilles@FreeBSD.org> |
MFC r203576,r203677: sh: Don't stat() $MAIL/$MAILPATH if not interactive. These may be NFS mounted, and we should not touch them unless we are going to do something useful with the information.
|
#
7e140e7e |
|
20-Apr-2010 |
Jilles Tjoelker <jilles@FreeBSD.org> |
MFC r200943: sh: Remove setting variables from dotcmd/exportcmd. It is already done by evalcommand(), unless special-ness has been removed, in which case variable assignments should not persist. (These are currently always special builtins, but this may change later: command builtin, command substitution.) This also fixes a memory leak when calling . with variable assignments. Example: valgrind --leak-check=full sh -c 'x=1 . /dev/null; x=2'
|
#
8eac1f94 |
|
17-Apr-2010 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: On startup of the shell, use PWD from the environment if it is valid. Unset PWD if it is incorrect and no value for it can be determined. This preserves the logical current directory across shell invocations. Example (assuming /home is a symlink): $ cd $ pwd /home/foo $ sh $ pwd /home/foo Formerly the second pwd would show the physical path (symlinks resolved).
|
#
fe0506d7 |
|
09-Mar-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Create the altix project branch. The altix project will add support for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
#
57063576 |
|
06-Feb-2010 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Do not stat() $MAIL/$MAILPATH in non-interactive shells. These may be NFS mounted, and we should not touch them unless we are going to do something useful with the information.
|
#
384aedab |
|
27-Dec-2009 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Various warning fixes (from WARNS=6 NO_WERROR=1): - const - initializations to silence -Wuninitialized (it was safe anyway) - remove nested extern declarations - rename "index" locals to "idx"
|
#
29d401c2 |
|
25-Dec-2009 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Do not run callers' exception handlers in subshells. Reset the exception handler in the child to main's. This avoids inappropriate double cleanups or shell duplication when the exception is caught, such as 'fc' and future 'command eval' and 'command .'.
|
#
2cac6e36 |
|
24-Dec-2009 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Constify various strings. Most of this is adding const keywords, but setvar() in var.c had to be changed somewhat more.
|
#
16d8c5ec |
|
24-Dec-2009 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Remove setting variables from dotcmd/exportcmd. It is already done by evalcommand(), unless special-ness has been removed, in which case variable assignments should not persist. (These are currently always special builtins, but this will change later: command builtin, command substitution.) This also fixes a memory leak when calling . with variable assignments. Example: valgrind --leak-check=full sh -c 'x=1 . /dev/null; x=2'
|
#
c6204d4a |
|
21-Nov-2009 |
Jilles Tjoelker <jilles@FreeBSD.org> |
sh: Some changes to stderr flushing: * increase buffer size from 100 to 256 bytes * remove implied flush from out2str(), in particular this avoids unnecessary flushing in the middle of a -x tracing line * rename dprintf() to out2fmt_flush(), make it flush out2 and use this function in various places where flushing is desired after an error message
|
#
960da934 |
|
13-Jun-2009 |
Jilles Tjoelker <jilles@FreeBSD.org> |
Avoid leaving unnecessary waiting shells in many forms of sh -c COMMAND. This change only affects strings passed to -c, when the -s option is not used. The approach is to check if there may be additional data in the string after parsing each command. If there is none, use the EV_EXIT flag so that a fork may be omitted in specific cases. If there are empty lines after the command, the check will not see the end and forks will not be omitted. The same thing seems to happen in bash. Example: sh -c 'ps lT' No longer shows a shell process waiting for ps to finish. PR: bin/113860 Reviewed by: stefanf Approved by: ed (mentor)
|
#
cb806389 |
|
30-May-2009 |
Stefan Farfeleder <stefanf@FreeBSD.org> |
Fix the eval command in combination with set -e. Before this change the shell would always terminate if eval returned with a non-zero exit status regardless if the status was actually tested. Unfortunately a new file-scope variable is needed, the alternative would only be to add a new parameter to all built-ins. PR: 134881
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
de37e41c |
|
07-Oct-2006 |
Stefan Farfeleder <stefanf@FreeBSD.org> |
Add the POSIX option -p to the jobs builtin command. It prints the PID of the process leader for each job. Now the last specified option for the output format (-l, -p or -s) wins, previously -s trumped -l. PR: 99926 Submitted by: Ed Schouten and novel (patches modified by me)
|
#
e5f1cf08 |
|
02-Apr-2006 |
Stefan Farfeleder <stefanf@FreeBSD.org> |
Issue an error when . (dot) is invoked without a filename. The synopsis is just ". file" according to POSIX, however many other shells allow arguments to be passed after the file. For compatibility (we even use that feature in buildworld) additional arguments are not considered to be an error, even though this shell does not do anything with the arguments at all.
|
#
81b2ed3e |
|
04-Feb-2006 |
Jens Schweikhardt <schweikh@FreeBSD.org> |
Initialize PWD early on (don't expect it to be inherited from the environment or set it only when changing directories with cd). PR: standards/92640
|
#
6195fb41 |
|
06-Apr-2004 |
Mark Murray <markm@FreeBSD.org> |
Remove clause 3 from the UCB licenses. OK'ed by: imp, core
|
#
c515abc5 |
|
30-Sep-2002 |
Tim J. Robbins <tjr@FreeBSD.org> |
Remove some kind of profiling support that required the 4.2BSD monitor() function in libc.
|
#
b1a66750 |
|
30-Sep-2002 |
Tim J. Robbins <tjr@FreeBSD.org> |
Remove bits and pieces of support for atty, which was made obsolete by adding history and vi/emacs-style line editing to the shell itself. Atty was a user-mode terminal emulator (like screen and window) that did line editing and history.
|
#
2749b141 |
|
29-Jun-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Consistently use FBSDID
|
#
ad8a0759 |
|
31-May-2002 |
Tim J. Robbins <tjr@FreeBSD.org> |
Add -s (output PID's only) and -l (show PID's) options to the jobs(1) builtin. Modify the output format to match what SUSv3 requires.
|
#
5134c3f7 |
|
01-Feb-2002 |
Warner Losh <imp@FreeBSD.org> |
o __P has been reoved o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. o Change int foo() { ... to int foo(void) { ...
|
#
84c3800c |
|
16-Aug-2000 |
Martin Cracauer <cracauer@FreeBSD.org> |
From submitter: growstackblock() sometimes relocates a stack_block considered empty without properly relocating stack marks referencing that block. The first call to popstackmark() with the unrelocated stack mark as argument then causes sh to abort. Relocating the relevant stack marks seems to solve this problem. The patch changes the semantics of popstackmark() somewhat. It can only be called once after a call to setstackmark(), thus cmdloop() in main.c needs an extra call to setstackmark(). PR: bin/19983 Submitted by: Tor.Egge@fast.no Reviewed by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
|
#
fba0ed11 |
|
14-Apr-2000 |
Warner Losh <imp@FreeBSD.org> |
Use #include <errno.h> rather than extern int errno;.
|
#
6c48b6cf |
|
29-Nov-1999 |
Martin Cracauer <cracauer@FreeBSD.org> |
Include strerror(errno) in error messages after failed system calls. Fix a warning.
|
#
2a456239 |
|
27-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
46be34b9 |
|
08-May-1999 |
Kris Kennaway <kris@FreeBSD.org> |
Various spelling/formatting changes. Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
|
#
3d7b5b93 |
|
18-May-1998 |
Philippe Charnier <charnier@FreeBSD.org> |
Add rcsid. Spelling.
|
#
2afa86e7 |
|
04-May-1997 |
Steve Price <steve@FreeBSD.org> |
Don't source $ENV unless this is an interactive shell.
|
#
b97fa2ef |
|
22-Feb-1997 |
Peter Wemm <peter@FreeBSD.org> |
Revert $FreeBSD$ to $Id$
|
#
1130b656 |
|
14-Jan-1997 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Make the long-awaited change from $Id$ to $FreeBSD$ This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
958ba632 |
|
21-Dec-1996 |
Steve Price <steve@FreeBSD.org> |
Make sh(1) a little braver in the face of adversity. sh(1) now handles the getpwd() init problem the same way as bash and ksh do. Also while I was in here, I cleaned up the format a little, removed some unnnecessary #if SYMLINKS cruft, and changed the pwd builtin to use getcwd(3) as Joerg suggested.
|
#
ab0a2172 |
|
13-Dec-1996 |
Steve Price <steve@FreeBSD.org> |
Merge in NetBSD mods and -Wall cleaning. Obtained from: NetBSD, me
|
#
621a31c6 |
|
28-Oct-1996 |
Steve Price <steve@FreeBSD.org> |
Add the -p (privileged) commandline switch found in bash, zsh, and friends. Reviewed by: joerg
|
#
5ff36b37 |
|
11-Sep-1996 |
Adam David <adam@FreeBSD.org> |
Mend 'exit' without breaking 'exit 1' *blush* %-\ Pointed out by: bruce
|
#
4d55cbc5 |
|
11-Sep-1996 |
Bruce Evans <bde@FreeBSD.org> |
Backed out last change. It broke even `exit 1'.
|
#
279de1f9 |
|
07-Sep-1996 |
Adam David <adam@FreeBSD.org> |
let the "exit" command return status when it is implicit
|
#
aa9caaf6 |
|
01-Sep-1996 |
Peter Wemm <peter@FreeBSD.org> |
Merge of 4.4-Lite2 sh source, plus some gcc -Wall cleaning. This is a merge of parallel duplicate work by Steve Price and myself. :-] There are some changes to the build that are my fault... mkinit.c was trying (poorly) to duplicate some of the work that make(1) is designed to do. The Makefile hackery is my fault too, the depend list was incomplete because of some explicit OBJS+= entries, so mkdep wasn't picking up their source file #includes. This closes a pile of /bin/sh PR's, but not all of them.. Submitted by: Steve Price <steve@bonsai.hiwaay.net>, peter
|
#
ba726b8a |
|
11-Aug-1996 |
Andrey A. Chernov <ache@FreeBSD.org> |
Localize it
|
#
069428af |
|
26-May-1996 |
Peter Wemm <peter@FreeBSD.org> |
Import the 4.4BSD-Lite2 /bin/sh sources Requested by: joerg (Note, this is mostly going to be conflicts, which is expected. Our entire sh source has a mainline, so this should not change anything except for a few new files appearing. I dont think they are a problem)
|
#
2162b2d2 |
|
29-May-1995 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
Remove trailing whitespace. Reviewed by: phk
|
#
89730b29 |
|
23-Sep-1994 |
David Greenman <dg@FreeBSD.org> |
Added $Id$
|
#
4b88c807 |
|
26-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
BSD 4.4 Lite bin Sources
|