Deleted Added
full compact
builtin.1 (51090) builtin.1 (51275)
1.\"
2.\" Copyright (c) 1999 Sheldon Hearn
3.\"
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 10 unchanged lines hidden (view full) ---

19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE.
26.\"
1.\"
2.\" Copyright (c) 1999 Sheldon Hearn
3.\"
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 10 unchanged lines hidden (view full) ---

19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE.
26.\"
27.\" $FreeBSD: head/share/man/man1/builtin.1 51090 1999-09-08 15:40:46Z sheldonh $
27.\" $FreeBSD: head/share/man/man1/builtin.1 51275 1999-09-14 11:46:04Z sheldonh $
28.\"
29.Dd September 1, 1999
30.Dt BUILTIN 1
31.Os
32.Sh NAME
33.Nm builtin ,
34.Nm alias ,
35.Nm alloc ,

--- 84 unchanged lines hidden (view full) ---

120Note that, in the case of
121.Xr csh 1
122builtin commands, the command is executed in a subshell if it occurs as
123any component of a pipeline except the last.
124.Pp
125If a command specified to the shell contains a slash
126.Dq \&/ ,
127the shell will not execute a builtin command, even if the last component
28.\"
29.Dd September 1, 1999
30.Dt BUILTIN 1
31.Os
32.Sh NAME
33.Nm builtin ,
34.Nm alias ,
35.Nm alloc ,

--- 84 unchanged lines hidden (view full) ---

120Note that, in the case of
121.Xr csh 1
122builtin commands, the command is executed in a subshell if it occurs as
123any component of a pipeline except the last.
124.Pp
125If a command specified to the shell contains a slash
126.Dq \&/ ,
127the shell will not execute a builtin command, even if the last component
128of the specified command matches the name of a builtin command. Thus,
129while specifying
128of the specified command matches the name of a builtin command.
129Thus, while specifying
130.Dq Ic echo
131causes a builtin command to be executed under shells that support the
132builtin echo command,
133specifying
134.Dq Pa /bin/echo
135or
136.Dq Pa ./echo
137does not.
138.Pp
139While some builtin commands may exist in more than one shell, their
140operation may be different under each shell which supports them.
141Below is a table which lists shell builtin commands, the standard shells
142that support them and whether they exist as standalone utilities.
143.Pp
144Only builtin commands for the
145.Xr csh 1
146and
147.Xr sh 1
130.Dq Ic echo
131causes a builtin command to be executed under shells that support the
132builtin echo command,
133specifying
134.Dq Pa /bin/echo
135or
136.Dq Pa ./echo
137does not.
138.Pp
139While some builtin commands may exist in more than one shell, their
140operation may be different under each shell which supports them.
141Below is a table which lists shell builtin commands, the standard shells
142that support them and whether they exist as standalone utilities.
143.Pp
144Only builtin commands for the
145.Xr csh 1
146and
147.Xr sh 1
148shells are listed here. Consult the appropriate manual page for
148shells are listed here.
149Consult the appropriate manual page for
149details on the operation of any given builtin command under those shells.
150Users of other shells will need to consult the documentation supplied
151with the other shells.
152.Bl -column "continueXX" "ExternalXX" "csh(1)" "sh(1)" -offset indent
153.\"
154.\" XXX:
155.\" The correct table header here can not be rendered with mdoc's current
156.\" argument maximum. When mdoc can handle sufficient arguments, the

--- 103 unchanged lines hidden ---
150details on the operation of any given builtin command under those shells.
151Users of other shells will need to consult the documentation supplied
152with the other shells.
153.Bl -column "continueXX" "ExternalXX" "csh(1)" "sh(1)" -offset indent
154.\"
155.\" XXX:
156.\" The correct table header here can not be rendered with mdoc's current
157.\" argument maximum. When mdoc can handle sufficient arguments, the

--- 103 unchanged lines hidden ---