| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: sh.1,v 1.245 2022/09/15 18:00:36 kre Exp $ | | 1 | .\" $NetBSD: sh.1,v 1.246 2022/09/16 17:25:09 kre Exp $ |
2 | .\" Copyright (c) 1991, 1993 | | 2 | .\" Copyright (c) 1991, 1993 |
3 | .\" The Regents of the University of California. All rights reserved. | | 3 | .\" The Regents of the University of California. All rights reserved. |
4 | .\" | | 4 | .\" |
5 | .\" This code is derived from software contributed to Berkeley by | | 5 | .\" This code is derived from software contributed to Berkeley by |
6 | .\" Kenneth Almquist. | | 6 | .\" Kenneth Almquist. |
7 | .\" | | 7 | .\" |
8 | .\" Redistribution and use in source and binary forms, with or without | | 8 | .\" Redistribution and use in source and binary forms, with or without |
9 | .\" modification, are permitted provided that the following conditions | | 9 | .\" modification, are permitted provided that the following conditions |
10 | .\" are met: | | 10 | .\" are met: |
11 | .\" 1. Redistributions of source code must retain the above copyright | | 11 | .\" 1. Redistributions of source code must retain the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer. | | 12 | .\" notice, this list of conditions and the following disclaimer. |
13 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 13 | .\" 2. Redistributions in binary form must reproduce the above copyright |
14 | .\" notice, this list of conditions and the following disclaimer in the | | 14 | .\" notice, this list of conditions and the following disclaimer in the |
| @@ -3181,27 +3181,27 @@ and | | | @@ -3181,27 +3181,27 @@ and |
3181 | options are given, then an error message will be printed about | | 3181 | options are given, then an error message will be printed about |
3182 | .Ar command Ns No s | | 3182 | .Ar command Ns No s |
3183 | unable to be found, but the exit status will remain 0. | | 3183 | unable to be found, but the exit status will remain 0. |
3184 | This is not considered useful. | | 3184 | This is not considered useful. |
3185 | .\" | | 3185 | .\" |
3186 | .Pp | | 3186 | .Pp |
3187 | .It Ic inputrc Ar file | | 3187 | .It Ic inputrc Ar file |
3188 | Read the | | 3188 | Read the |
3189 | .Ar file | | 3189 | .Ar file |
3190 | to set key bindings as defined by | | 3190 | to set key bindings as defined by |
3191 | .Xr editrc 5 . | | 3191 | .Xr editrc 5 . |
3192 | .\" | | 3192 | .\" |
3193 | .Pp | | 3193 | .Pp |
3194 | .It Ic jobid Oo Fl g Ns \&| Ns Fl j Ns \&| Ns Fl p Oc Op Ar job | | 3194 | .It Ic jobid Oo Fl g Ns \&| Ns Fl j Ns \&| Ns Fl p Oc Op Ar job |
3195 | With no flags, print the process identifiers of the processes in the job. | | 3195 | With no flags, print the process identifiers of the processes in the job. |
3196 | If the | | 3196 | If the |
3197 | .Ar job | | 3197 | .Ar job |
3198 | argument is omitted, the current job is used. | | 3198 | argument is omitted, the current job is used. |
3199 | Any of the ways to select a job may be used for | | 3199 | Any of the ways to select a job may be used for |
3200 | .Ar job , | | 3200 | .Ar job , |
3201 | including the | | 3201 | including the |
3202 | .Sq Li \&% | | 3202 | .Sq Li \&% |
3203 | forms, or the process id of the job leader | | 3203 | forms, or the process id of the job leader |
3204 | .Po | | 3204 | .Po |
3205 | .Dq Li \&$! | | 3205 | .Dq Li \&$! |
3206 | if the job was created in the background. | | 3206 | if the job was created in the background. |
3207 | .Pc | | 3207 | .Pc |
| @@ -3563,27 +3563,27 @@ is encountered on input, in | | | @@ -3563,27 +3563,27 @@ is encountered on input, in |
3563 | which case failure is returned. | | 3563 | which case failure is returned. |
3564 | .Pp | | 3564 | .Pp |
3565 | By default, unless the | | 3565 | By default, unless the |
3566 | .Fl r | | 3566 | .Fl r |
3567 | option is specified, the backslash | | 3567 | option is specified, the backslash |
3568 | .Dq \e | | 3568 | .Dq \e |
3569 | acts as an escape character, causing the following character to be treated | | 3569 | acts as an escape character, causing the following character to be treated |
3570 | literally. | | 3570 | literally. |
3571 | This is the only form of quoting that applies. | | 3571 | This is the only form of quoting that applies. |
3572 | If an unescaped backslash is followed by a newline, | | 3572 | If an unescaped backslash is followed by a newline, |
3573 | the backslash and the newline will be deleted, | | 3573 | the backslash and the newline will be deleted, |
3574 | and replaced by the contents of the following line, | | 3574 | and replaced by the contents of the following line, |
3575 | which is processed as if it had been part of the original line. | | 3575 | which is processed as if it had been part of the original line. |
3576 | This includes reading yet more input if necessary, | | 3576 | This includes reading yet more input if necessary, |
3577 | until a line is read that is not terminated by | | 3577 | until a line is read that is not terminated by |
3578 | an unescaped backslash immediately before the newline. | | 3578 | an unescaped backslash immediately before the newline. |
3579 | .\" | | 3579 | .\" |
3580 | .Pp | | 3580 | .Pp |
3581 | .It Ic readonly Ar name Ns Oo =value Oc ... | | 3581 | .It Ic readonly Ar name Ns Oo =value Oc ... |
3582 | .It Ic readonly Oo Fl p Oo Ar name ... Oc Oc | | 3582 | .It Ic readonly Oo Fl p Oo Ar name ... Oc Oc |
3583 | .It Ic readonly Fl q Ar name ... | | 3583 | .It Ic readonly Fl q Ar name ... |
3584 | With no options, | | 3584 | With no options, |
3585 | the specified names are marked as read only, so that they cannot be | | 3585 | the specified names are marked as read only, so that they cannot be |
3586 | subsequently modified or unset. | | 3586 | subsequently modified or unset. |
3587 | The shell allows the value of a variable | | 3587 | The shell allows the value of a variable |
3588 | to be set at the same time it is marked read only by writing | | 3588 | to be set at the same time it is marked read only by writing |
3589 | .Pp | | 3589 | .Pp |