=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/script/script.1,v retrieving revision 1.16 retrieving revision 1.17 diff -c -r1.16 -r1.17 *** src/usr.bin/script/script.1 2018/07/13 16:59:46 1.16 --- src/usr.bin/script/script.1 2019/02/15 02:49:24 1.17 *************** *** 1,4 **** ! .\" $OpenBSD: script.1,v 1.16 2018/07/13 16:59:46 cheloha Exp $ .\" $NetBSD: script.1,v 1.3 1994/12/21 08:55:41 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 --- 1,4 ---- ! .\" $OpenBSD: script.1,v 1.17 2019/02/15 02:49:24 ian Exp $ .\" $NetBSD: script.1,v 1.3 1994/12/21 08:55:41 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 *************** *** 30,36 **** .\" .\" @(#)script.1 8.1 (Berkeley) 6/6/93 .\" ! .Dd $Mdocdate: July 13 2018 $ .Dt SCRIPT 1 .Os .Sh NAME --- 30,36 ---- .\" .\" @(#)script.1 8.1 (Berkeley) 6/6/93 .\" ! .Dd $Mdocdate: February 15 2019 $ .Dt SCRIPT 1 .Os .Sh NAME *************** *** 73,96 **** To run a command with arguments, enclose both in quotes. .El .Pp ! The script ends when the forked program exits (a control-D ! .Pq Ql ^D ! to exit ! the Bourne shell ! .Pf ( Xr sh 1 ) , ! and .Ic exit , .Ic logout , or control-D ! (if ! .Va ignoreeof ! is not set) for the ! C-shell, ! .Xr csh 1 ) . .Nm will exit with the status of 0 unless any of its child ! processes fail. ! In which case, .Nm will return 1. .Pp --- 73,87 ---- To run a command with arguments, enclose both in quotes. .El .Pp ! The script ends when the forked program exits (an .Ic exit , .Ic logout , or control-D ! .Pq Ql ^D ! will exit most interactive shells). .Nm will exit with the status of 0 unless any of its child ! processes fail, in which case, .Nm will return 1. .Pp