From 93ee5d4e7ba01f19d14d35b388a1097d2e74fcd3 Mon Sep 17 00:00:00 2001 From: jcamou Date: Thu, 3 Nov 2005 00:15:19 +0000 Subject: Add `local' and `return' to the list of built-ins. Submitted by: garys Approved by: trhodes (mentor) --- bin/sh/sh.1 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bin') diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index b0679ae..5e792d4 100644 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -1780,6 +1780,10 @@ option is specified, the PID of each job is also printed. If the .Fl s option is specified, only the PIDs of the jobs are printed, one per line. +.It Ic local Oo Ar variable ... Oc Op Ar - +See the +.Sx Functions +subsection. .It Ic pwd Op Fl L | P Print the path of the current directory. The built-in command may @@ -1881,6 +1885,10 @@ If the option is specified, the read-only variables are printed as .Dq Ic readonly Ar name Ns = Ns Ar value lines, suitable for re-input to the shell. +.It Ic return Op Ar exitstatus +See the +.Sx Functions +subsection. .It Ic set Oo Fl /+abCEefIimnpTuVvx Oc Oo Fl /+o Ar longname Oc Oo .Fl c Ar string Oc Op Fl - Ar arg ... The -- cgit v1.1