FreeBSD src
Go to file
Martin Cracauer 18b3ba267c 1) Fix the case where a shellscript using getopt is called with a
parameter that has space in it, both in getopt.c and in the manpage
   example.

2) Fix the example in the manpage. The set(1) command is required to
   return 0 (POSIX 1003.2, section 3.14.11), so you can't test for
   getopt's exit status like the example did:

  #! /bin/sh
  set -- `getopt abo: $*`
  if test $? != 0  # wrong, tests for set's exit status, which is
                   # always zero, no for getopt(1)'s.

Fixes PR bin/5845, which thought it was getopt's fault, but in fact
the manpage was wrong.

I also updated the example to be more useful and updated the BUGS
section.

PR:		bin/5845
1999-04-03 22:24:36 +00:00
bin In interactive shells, break loops to the topmost level when a child 1999-04-03 12:55:51 +00:00
contrib Fixed printf format errors. 1999-04-03 06:58:32 +00:00
crypto Old stuff laying around: Don't use getstr which can conflict with some 1998-12-16 06:06:06 +00:00
etc Break lines to be < 80 chars. 1999-04-02 09:35:34 +00:00
games Call me bored, but I actually fed the equation into 'calc' just now 1999-04-02 17:42:10 +00:00
gnu echo -> ${ECHO}. 1999-04-03 07:04:53 +00:00
include o Runnable threads are now maintained in priority queues. The 1999-03-23 05:11:30 +00:00
kerberos5 Link everything against libcrypt. ELF builds complain without it. 1999-01-25 06:49:43 +00:00
kerberosIV Link everything against libcrypt. ELF builds complain without it. 1999-01-25 06:49:43 +00:00
lib Add data storage for two application-provided variables. 1999-04-03 03:29:14 +00:00
libexec Ignore empty usernames, and repeat the login: prompt in this case. 1999-03-30 10:23:35 +00:00
release Make release would fail for lack of /etc/resolv.conf or $DISTFILES/ 1999-03-31 11:18:52 +00:00
sbin Install dhclient-script under ${DESTDIR}. 1999-04-03 07:09:59 +00:00
secure Enable tcp_wrapper support by default. 1999-03-28 10:55:03 +00:00
share Correct bits, make output format clearly. 1999-04-01 10:15:15 +00:00
sys Restore support for executing BSD/OS binaries on the i386 by passing 1999-04-03 22:20:03 +00:00
tools Do a better job of finding the default root device. 1999-02-15 02:22:24 +00:00
usr.bin 1) Fix the case where a shellscript using getopt is called with a 1999-04-03 22:24:36 +00:00
usr.sbin Remove forgotten variable. 1999-04-03 12:01:38 +00:00
COPYRIGHT Add Id keyword 1998-09-13 23:11:13 +00:00
Makefile Change !defined(NOAOUT) knob to defined(WANT_AOUT). 1999-03-29 10:59:53 +00:00
Makefile.inc0 Change !defined(NOAOUT) knob to defined(WANT_AOUT). 1999-03-29 10:59:53 +00:00
Makefile.inc1 EGCS will have some new includes that need to be installed. 1999-04-03 08:18:43 +00:00
Makefile.upgrade Set X11BASE to something deliberately bogus in elf_buildworld so that 1999-03-23 08:09:25 +00:00
README No more src/lkm dir... 1999-01-06 14:02:35 +00:00
UPDATING Add pointer sys/boot/README for new boot system (this should be in a 1999-03-18 05:39:45 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on: $Id: README,v 1.13 1998/09/13 09:38:34 markm Exp $

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel and the contents of /etc.  Please see the top of the Makefile
in this directory for more information on the standard build targets
and compile-time flags.

Building a kernel with config(8) is a somewhat more involved process,
documentation for which can be found at:
   http://www.freebsd.org/handbook/kernelconfig.html
And in the config(8) man page.

The sample kernel configuration files reside in the sys/i386/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file LINT contains entries for all possible devices, not
just those commonly used, and is meant more as a general reference
than an actual kernel configuration file (a kernel built from it
wouldn't even run).


Source Roadmap:
---------------
bin		System/User commands.

contrib		Packages contributed by 3rd parties.

crypto		Export controlled stuff (see crypto/README).

etc		Template files for /etc

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberosIV	Kerberos package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		DES and DES-related utilities - NOT FOR EXPORT!

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/handbook/synching.html