svn commit: r212417 - head/bin/sh

Jilles Tjoelker jilles at FreeBSD.org
Fri Sep 10 13:40:31 UTC 2010


Author: jilles
Date: Fri Sep 10 13:40:31 2010
New Revision: 212417
URL: http://svn.freebsd.org/changeset/base/212417

Log:
  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.
  
  MFC after:	1 week

Modified:
  head/bin/sh/sh.1

Modified: head/bin/sh/sh.1
==============================================================================
--- head/bin/sh/sh.1	Fri Sep 10 13:24:47 2010	(r212416)
+++ head/bin/sh/sh.1	Fri Sep 10 13:40:31 2010	(r212417)
@@ -32,7 +32,7 @@
 .\"	from: @(#)sh.1	8.6 (Berkeley) 5/4/95
 .\" $FreeBSD$
 .\"
-.Dd August 22, 2010
+.Dd September 10, 2010
 .Dt SH 1
 .Os
 .Sh NAME
@@ -2455,8 +2455,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-head mailing list