Commit Graph

43 Commits

Author SHA1 Message Date
Akinori MUSHA
018d9f6237 Remove the printf builtin command from sh(1), which command is not
used so often that it's worth keeping it as a builtin.

Now that all the printf invocations from within the system startup
scripts, we can safely remove it.

Urged by:	sheldonh  :)

No MFC is planned so far because it may break compatibility and
violate POLA.
2001-11-20 18:33:59 +00:00
Akinori MUSHA
80f5a425c1 Add false(1), test(1) and true(1) cross-references.
Pointed out by:	sheldonh
2001-11-20 13:05:53 +00:00
Akinori MUSHA
d90c5c4ab4 Make test(1) a builtin command of our sh(1) for efficiency. The
binary size increase is 3,784 bytes (about 0.6%).

I don't drop the printf builtin while I'm here because some /etc/rc.*
scripts seem to use it before mounting /usr where printf(1) resides.

Reviewed by:	arch (sheldonh)
Inspired by:	NetBSD, ksh
Clued by:	ume (on how the printf builtin is used)
2001-11-17 19:10:11 +00:00
Dima Dorfman
ee9dc9c595 Explain a little about sysexits(3) so that regular users can take
advantage of the fact that some programs care to explain why they
failed.

PR:		31415
2001-10-23 00:46:13 +00:00
Ruslan Ermilov
6575e6daae mdoc(7) police: expand plain text xrefs. 2001-08-08 11:48:28 +00:00
Jens Schweikhardt
c1f3e4bf21 Removed whitespace at end-of-line; no content changes. I simply did
cd src/share; find man[1-9] -type f|xargs perl -pi -e 's/[ \t]+$//'

BTW, what editors are the culprits? I'm using vim and it shows
me whitespace at EOL in troff files with a thick blue block...

Reviewed by:	Silence from cvs diff -b
MFC after:	7 days
2001-07-14 19:41:16 +00:00
Dima Dorfman
bd737b2099 "break", "chdir", "continue", "else", and "while" are sh(1) builtins;
mark them as such.

PR:		26702
2001-04-25 05:53:20 +00:00
Dima Dorfman
aac938629a Indicate that sh(1) has an 'if' builtin command.
PR:		26193
2001-04-01 01:08:33 +00:00
Ruslan Ermilov
acaf79e1b9 MAN[1-9] -> MAN. 2001-03-27 13:48:25 +00:00
Ruslan Ermilov
fb7912f8ba Prepare for mdoc(7)NG. 2001-01-22 10:44:54 +00:00
Ruslan Ermilov
4b66483fd8 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 18:41:33 +00:00
Sheldon Hearn
68acfb0617 Update the builtin(1) manpage to reflect changes since the csh(1)
to tcsh(1) upgrade.  The following commands were added as builtins:

	bindkey
	builtins
	complete
	echotc
	filetest
	hup
	log
	ls-F
	printenv
	sched
	settc
	setty
	telltc
	uncomplete
	where

The printf builtin was removed.
2000-05-09 14:59:06 +00:00
Sheldon Hearn
4f262adde3 Remove the MLINKS entry for cwd, since it's no longer listed in the
builtin.1 page.
2000-05-08 16:23:56 +00:00
Sheldon Hearn
07593bef67 Remove the bogusly inserted ``cwd'' which isn't a builtin command
to sh, csh nor tcsh.

Fix the header line of the table to use cross-references and
emphasis.
2000-05-08 15:59:23 +00:00
Sheldon Hearn
b3736d8d1e I didn't expect this to be merged to STABLE. It was, so correct the
HISTORY section.
2000-03-03 09:28:05 +00:00
Sheldon Hearn
8d4c0be368 Add missing entry for read(1) to the builtin(1) manual page and
add an MLINKS entry for it.  I can't imagine how I missed this one.
2000-03-01 14:13:29 +00:00
Sheldon Hearn
cde6156df8 Fix the availability table, which incorrectly indicated that sh(1)
does not have a builtin set command.
1999-12-20 16:29:56 +00:00
Sheldon Hearn
2e9d38764f Remove the wait.1 manpage. There is no userland wait(1) utility, and the
manpage does not describe the builtin wait command provided by either
of the standard shells. There is already an entry for wait.1 in the
builtins.1 MLINKS list.
1999-09-20 08:45:43 +00:00
Sheldon Hearn
e6d3cf2648 Correct some hard sentence breaks. Only those surrounding the previous
commit and those which cause ugly nroff output have been fixed, since
the purpose of the style guideline which they contravene is to reduce
the sizes of deltas.

Reported by:	bde
1999-09-14 11:46:04 +00:00
Bruce Evans
ea14abdc6c Fixed breakage of intro.1 -> introduction.1 link and minor disordering in
previous commit.
1999-09-11 04:59:47 +00:00
Sheldon Hearn
c644db6aa2 Improve shell documentation:
* Consistently misspell built-in as builtin.

* Add a builtin(1) manpage and create builtin(1) MLINKS for all shell
  builtin commands for which no standalone utility exists.  These MLINKS
  replace those that were created for csh(1).

* Add appropriate xrefs for builtin(1) to the csh(1) and sh(1) manpages,
  as well as to the manpages of standalone utilities which are supported
  as shell builtin commands in at least one of the shells. In such
  manpages, explain that similar functionality may be provided as a
  shell builtin command.

* Improve sh(1)'s description of the cd builtin command. Csh(1) already
  describes it adequately. Replace the cd(1) manpage with a builtin(1)
  MLINKS link.

* Clean up some mdoc problems: use Xr instead of literal "foo(n)"; use
  Ic instead of Xr for shell builtin commands.

* Undo English contractions.

Reviewed by:	mpp, rgrimes
1999-09-08 15:40:46 +00:00
Peter Wemm
7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Mike Pritchard
def37e7c68 Various man page cleanup:
- Sort xrefs
- FreeBSD.ORG -> FreeBSD.org
- Be consistent with section names as outlined in mdoc(7).
- Other misc mdoc cleanup.

PR:		doc/13144
Submitted by:	Alexey M. Zelkin <phantom@cris.net>
1999-08-15 10:48:36 +00:00
Bill Fumerola
5175e4a53d security(1) doesn't exist, but security(7) does.
PR:		docs/10478
Submitted by:	Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de>
1999-03-20 04:03:56 +00:00
Matthew Dillon
1641c009a5 Moving security page to section 7 1998-12-20 20:11:25 +00:00
Matthew Dillon
846eedde28 Add quick overview of basic firewalling practices 1998-12-20 20:05:44 +00:00
Matthew Dillon
dc36fd0f8e Add information on how to deal with DOS attacks 1998-12-20 19:49:43 +00:00
Bruce Evans
6a157c8648 FIxed unsorting of cross references in previous commit. 1998-12-20 06:30:05 +00:00
Bruce Evans
b9f010b051 Fixed unsorting of MAN1 in previous commit. 1998-12-20 06:27:00 +00:00
Matthew Dillon
2eaf205864 Commit initial man page for 'security'... an introduction to security
mechanisms.  It is a little light on detail but still a pretty good
    overview.  I suggest that for specific detail (such as, for example,
    how to setup kerberos), that additional security-DETAILNAME man pages
    be written and refered to.
1998-12-19 09:33:03 +00:00
Masafumi Max NAKANE
de124a03ea Typo fix.
PR:		3828
Submitted by:	Josh Gilliam <josh@quick.net>
1997-06-13 21:11:27 +00:00
John-Mark Gurney
7d2f1d1f8c fix a bugon of last commit 1997-04-22 05:52:54 +00:00
Wolfram Schneider
8f2b2dde93 Add manpage link introduction.1 -> intro.1 1997-04-14 10:24:14 +00:00
John-Mark Gurney
a41f2f4c1c slight rewording of HISTORY section
Closes PR#3261
1997-04-14 09:24:06 +00:00
John-Mark Gurney
ac5afce161 add missing cvs Id lines. 1997-03-07 03:28:23 +00:00
Peter Wemm
e25aeca937 Revert $FreeBSD$ back to $Id$ 1997-02-22 13:26:29 +00:00
Wolfram Schneider
92f2618c58 Add cross references to apropos(1), intro(5), intro(6). 1997-02-16 12:12:00 +00:00
Jordan K. Hubbard
1130b656e5 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.
1997-01-14 07:20:47 +00:00
Wolfram Schneider
e0e5145ce6 add missing comma(s) in .Xr macros 1996-09-23 22:24:39 +00:00
Mike Pritchard
5c537f44be Add a reference to intro(9).
Submitted by:	Philippe Charnier <charnier@lirmm.fr>
1996-03-11 03:28:43 +00:00
Andreas Schulz
db312e6697 Delete one of the two references to intro(3) in the SEE ALSO section
and add an intro(7) instead.
1995-02-28 00:19:41 +00:00
Garrett Wollman
8ccf48ea2d Make man page installation work for ``unattached'' and kernel pages. 1994-08-09 18:41:38 +00:00
Rodney W. Grimes
afe61c1516 BSD 4.4 Lite Share Sources 1994-05-30 19:09:18 +00:00