Deleted Added
full compact
sh.1 (279188) sh.1 (281718)
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 279188 2015-02-22 21:32:57Z jilles $
33.\" $FreeBSD: head/bin/sh/sh.1 281718 2015-04-18 23:49:57Z bdrewery $
34.\"
34.\"
35.Dd February 22, 2015
35.Dd April 18, 2015
36.Dt SH 1
37.Os
38.Sh NAME
39.Nm sh
40.Nd command interpreter (shell)
41.Sh SYNOPSIS
42.Nm
43.Op Fl /+abCEefhIimnPpTuVvx

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

2569The
2570.Ar action
2571may be an empty string or a dash
2572.Pq Ql - ;
2573the former causes the specified signal to be ignored
2574and the latter causes the default action to be taken.
2575Omitting the
2576.Ar action
36.Dt SH 1
37.Os
38.Sh NAME
39.Nm sh
40.Nd command interpreter (shell)
41.Sh SYNOPSIS
42.Nm
43.Op Fl /+abCEefhIimnPpTuVvx

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

2569The
2570.Ar action
2571may be an empty string or a dash
2572.Pq Ql - ;
2573the former causes the specified signal to be ignored
2574and the latter causes the default action to be taken.
2575Omitting the
2576.Ar action
2577is another way to request the default action, for compatibility reasons this
2578usage is not recommended though.
2577and using only signal numbers is another way to request the default action.
2579In a subshell or utility environment,
2580the shell resets trapped (but not ignored) signals to the default action.
2581The
2582.Ic trap
2583command has no effect on signals that were ignored on entry to the shell.
2584.Pp
2585Option
2586.Fl l

--- 266 unchanged lines hidden ---
2578In a subshell or utility environment,
2579the shell resets trapped (but not ignored) signals to the default action.
2580The
2581.Ic trap
2582command has no effect on signals that were ignored on entry to the shell.
2583.Pp
2584Option
2585.Fl l

--- 266 unchanged lines hidden ---