Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2010 13:40:31 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r212417 - head/bin/sh
Message-ID:  <201009101340.o8ADeVeY049205@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 ,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009101340.o8ADeVeY049205>