]>
Commit | Line | Data |
---|---|---|
cf7098dd MM |
1 | diff -urN netbsd-sh/sh.1 ash-0.3.7.orig/sh.1 |
2 | --- netbsd-sh/sh.1 Fri Jan 12 17:50:40 2001 | |
3 | +++ ash-0.3.7.orig/sh.1 Mon Apr 23 22:16:46 2001 | |
4 | @@ -649,7 +649,7 @@ | |
5 | they were one program: | |
6 | .Pp | |
7 | .Bd -literal -offset indent | |
8 | -{ echo -n \*q hello \*q ; echo \*q world" } > greeting | |
9 | +{ echo \*q hello \\c\*q ; echo \*q world" } > greeting | |
10 | .Ed | |
11 | .Pp | |
12 | .Ss Functions | |
13 | @@ -1306,14 +1306,16 @@ | |
14 | will continue to print the old name for the directory. | |
15 | .It Xo read Op Fl p Ar prompt | |
16 | .Op Fl r | |
17 | -.Op Ar variable... | |
18 | +.Ar variable... | |
19 | .Xc | |
20 | The prompt is printed if the | |
21 | .Fl p | |
22 | option is specified and the standard input is a terminal. Then a line is | |
23 | read from the standard input. The trailing newline is deleted from the | |
24 | line and the line is split as described in the section on word splitting | |
25 | -above, and the pieces are assigned to the variables in order. If there are | |
26 | +above, and the pieces are assigned to the variables in order. | |
27 | +At least one variable must be specified. | |
28 | +If there are | |
29 | more pieces than variables, the remaining pieces (along with the | |
30 | characters in | |
31 | .Ev IFS | |
32 | @@ -1394,6 +1396,9 @@ | |
33 | by one. If there are zero positional parameters, | |
34 | .Ic shift | |
35 | does nothing. | |
36 | +.It times | |
37 | +Print the accumulated user and system times for the shell and for processes | |
38 | +run from the shell. The return status is 0. | |
39 | .It Xo trap | |
40 | .Op Ar action | |
41 | .Ar signal... | |
42 |