svn commit: r212864 - stable/8/bin/sh

Jilles Tjoelker jilles at FreeBSD.org
Sun Sep 19 16:06:32 UTC 2010


Author: jilles
Date: Sun Sep 19 16:06:32 2010
New Revision: 212864
URL: http://svn.freebsd.org/changeset/base/212864

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/8/bin/sh/sh.1
Directory Properties:
  stable/8/bin/sh/   (props changed)

Modified: stable/8/bin/sh/sh.1
==============================================================================
--- stable/8/bin/sh/sh.1	Sun Sep 19 15:20:52 2010	(r212863)
+++ stable/8/bin/sh/sh.1	Sun Sep 19 16:06:32 2010	(r212864)
@@ -32,7 +32,7 @@
 .\"	from: @(#)sh.1	8.6 (Berkeley) 5/4/95
 .\" $FreeBSD$
 .\"
-.Dd January 8, 2010
+.Dd September 10, 2010
 .Dt SH 1
 .Os
 .Sh NAME
@@ -2369,8 +2369,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