Commit Graph

47 Commits

Author SHA1 Message Date
ru
ad42658a8b Use a single style for share/man/ makefiles:
- Sort MAN and MLINKS in "dictionary" order ignoring case.

- For multi-value MAN and multi-pair MLINKS, put each value/pair
  on its own line, for easier sorting and so that further diffs
  are easier to see.
2004-01-20 10:27:23 +00:00
tjr
a2a51bf521 Mention the new bind(1) sh builtin. 2002-07-23 14:38:07 +00:00
sheldonh
597280fcc5 One external utility was ommitted in the previous delta:
alias
2002-07-17 15:34:25 +00:00
sheldonh
f04e00720b The following builtins are now available as external commands as well:
bg
        cd
        command
        fc
        fg
        getopts
        jobs
        read
        umask
        unalias
        wait
2002-07-17 07:12:37 +00:00
knu
96265e088e 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
knu
e4456a6cc5 Add false(1), test(1) and true(1) cross-references.
Pointed out by:	sheldonh
2001-11-20 13:05:53 +00:00
knu
b58a3e4078 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
dd
9fa3fe539e 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
ru
6787c701a8 mdoc(7) police: expand plain text xrefs. 2001-08-08 11:48:28 +00:00
schweikh
511e378b14 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
dd
daedbc6cd1 "break", "chdir", "continue", "else", and "while" are sh(1) builtins;
mark them as such.

PR:		26702
2001-04-25 05:53:20 +00:00
dd
485d3bb724 Indicate that sh(1) has an 'if' builtin command.
PR:		26193
2001-04-01 01:08:33 +00:00
ru
a27d1d954d MAN[1-9] -> MAN. 2001-03-27 13:48:25 +00:00
ru
72bf3d71c8 Prepare for mdoc(7)NG. 2001-01-22 10:44:54 +00:00
ru
0100fd6e93 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 18:41:33 +00:00
sheldonh
8226df019a 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
sheldonh
5aae6a9c86 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
sheldonh
e866411f10 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
sheldonh
6b97d48f51 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
sheldonh
1778245e53 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
sheldonh
7531174959 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
sheldonh
080968c8e2 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
sheldonh
d003c4a860 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
bde
1745bea10c Fixed breakage of intro.1 -> introduction.1 link and minor disordering in
previous commit.
1999-09-11 04:59:47 +00:00
sheldonh
4000b20086 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
76f0c923fe $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
mpp
1f5a4f9ad4 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
billf
94ad656948 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
dillon
324304dcd0 Moving security page to section 7 1998-12-20 20:11:25 +00:00
dillon
a5add6efc6 Add quick overview of basic firewalling practices 1998-12-20 20:05:44 +00:00
dillon
a3f0dbdc43 Add information on how to deal with DOS attacks 1998-12-20 19:49:43 +00:00
bde
db9539dd37 FIxed unsorting of cross references in previous commit. 1998-12-20 06:30:05 +00:00
bde
32e7a08ca5 Fixed unsorting of MAN1 in previous commit. 1998-12-20 06:27:00 +00:00
dillon
e831efdb4f 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
max
09e80a9d77 Typo fix.
PR:		3828
Submitted by:	Josh Gilliam <josh@quick.net>
1997-06-13 21:11:27 +00:00
jmg
23b3d82663 fix a bugon of last commit 1997-04-22 05:52:54 +00:00
wosch
c834ab375e Add manpage link introduction.1 -> intro.1 1997-04-14 10:24:14 +00:00
jmg
73856517a4 slight rewording of HISTORY section
Closes PR#3261
1997-04-14 09:24:06 +00:00
jmg
bfd1ca354f add missing cvs Id lines. 1997-03-07 03:28:23 +00:00
peter
d69a45675f Revert $FreeBSD$ back to $Id$ 1997-02-22 13:26:29 +00:00
wosch
5ef942548e Add cross references to apropos(1), intro(5), intro(6). 1997-02-16 12:12:00 +00:00
jkh
808a36ef65 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
wosch
89dea7c61d add missing comma(s) in .Xr macros 1996-09-23 22:24:39 +00:00
mpp
f150590d38 Add a reference to intro(9).
Submitted by:	Philippe Charnier <charnier@lirmm.fr>
1996-03-11 03:28:43 +00:00
ats
2b514bef51 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
wollman
7a77128a94 Make man page installation work for ``unattached'' and kernel pages. 1994-08-09 18:41:38 +00:00
rgrimes
b0d61785ca BSD 4.4 Lite Share Sources 1994-05-30 19:09:18 +00:00