Deleted Added
full compact
sh.1 (163085) sh.1 (172440)
1.\"-
2.\" Copyright (c) 1991, 1993
3.\" The Regents of the University of California. All rights reserved.
4.\"
5.\" This code is derived from software contributed to Berkeley by
6.\" Kenneth Almquist.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

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

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95
1.\"-
2.\" Copyright (c) 1991, 1993
3.\" The Regents of the University of California. All rights reserved.
4.\"
5.\" This code is derived from software contributed to Berkeley by
6.\" Kenneth Almquist.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

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

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95
33.\" $FreeBSD: head/bin/sh/sh.1 163085 2006-10-07 16:51:16Z stefanf $
33.\" $FreeBSD: head/bin/sh/sh.1 172440 2007-10-04 16:14:48Z stefanf $
34.\"
35.Dd October 7, 2006
36.Dt SH 1
37.Os
38.Sh NAME
39.Nm sh
40.Nd command interpreter (shell)
41.Sh SYNOPSIS

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

856.Pp
857The pattern can actually be one or more patterns
858(see
859.Sx Shell Patterns
860described later),
861separated by
862.Dq Li \&|
863characters.
34.\"
35.Dd October 7, 2006
36.Dt SH 1
37.Os
38.Sh NAME
39.Nm sh
40.Nd command interpreter (shell)
41.Sh SYNOPSIS

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

856.Pp
857The pattern can actually be one or more patterns
858(see
859.Sx Shell Patterns
860described later),
861separated by
862.Dq Li \&|
863characters.
864The exit code of the
865.Ic case
866command is the exit code of the last command executed in the list or
867zero if no patterns were matched.
864.Ss Grouping Commands Together
865Commands may be grouped by writing either
866.Bd -literal -offset indent
867(list)
868.Ed
869.Pp
870or
871.Bd -literal -offset indent

--- 1402 unchanged lines hidden ---
868.Ss Grouping Commands Together
869Commands may be grouped by writing either
870.Bd -literal -offset indent
871(list)
872.Ed
873.Pp
874or
875.Bd -literal -offset indent

--- 1402 unchanged lines hidden ---