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