1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-02-05 20:46:11 +01:00
slackware-current/source/ap/ash/patches/ash-manpage.patch
Patrick J Volkerding 5a12e7c134 Slackware 13.0
Wed Aug 26 10:00:38 CDT 2009
Slackware 13.0 x86_64 is released as stable!  Thanks to everyone who
helped make this release possible -- see the RELEASE_NOTES for the
credits.  The ISOs are off to the replicator.  This time it will be a
6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD.
We're taking pre-orders now at store.slackware.com.  Please consider
picking up a copy to help support the project.  Once again, thanks to
the entire Slackware community for all the help testing and fixing
things and offering suggestions during this development cycle.
As always, have fun and enjoy!  -P.
2018-05-31 22:41:17 +02:00

42 lines
1.3 KiB
Diff

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...