svn commit: r214241 - stable/7/bin/sh

Jilles Tjoelker jilles at FreeBSD.org
Sat Oct 23 14:00:31 UTC 2010


Author: jilles
Date: Sat Oct 23 14:00:31 2010
New Revision: 214241
URL: http://svn.freebsd.org/changeset/base/214241

Log:
  MFC r212417: sh(1): Remove xrefs for expr(1) and getopt(1).
  
  expr(1) should usually not be used as various forms of parameter expansion
  and arithmetic expansion replicate most of its functionality in an easier
  way.
  
  getopt(1) should not be used at all in new code. Instead, getopts(1) or
  entirely manual parsing should be used.

Modified:
  stable/7/bin/sh/sh.1
Directory Properties:
  stable/7/bin/sh/   (props changed)

Modified: stable/7/bin/sh/sh.1
==============================================================================
--- stable/7/bin/sh/sh.1	Sat Oct 23 13:57:26 2010	(r214240)
+++ stable/7/bin/sh/sh.1	Sat Oct 23 14:00:31 2010	(r214241)
@@ -32,7 +32,7 @@
 .\"	from: @(#)sh.1	8.6 (Berkeley) 5/4/95
 .\" $FreeBSD$
 .\"
-.Dd October 7, 2006
+.Dd September 10, 2010
 .Dt SH 1
 .Os
 .Sh NAME
@@ -2355,8 +2355,6 @@ will return the argument.
 .Xr echo 1 ,
 .Xr ed 1 ,
 .Xr emacs 1 ,
-.Xr expr 1 ,
-.Xr getopt 1 ,
 .Xr pwd 1 ,
 .Xr test 1 ,
 .Xr vi 1 ,


More information about the svn-src-all mailing list