]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r212417: sh(1): Remove xrefs for expr(1) and getopt(1).
authorjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 19 Sep 2010 16:06:32 +0000 (16:06 +0000)
committerjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 19 Sep 2010 16:06:32 +0000 (16:06 +0000)
commita184b26a8b93320cd1ee144f7036435bcd52d7ea
tree9ed21b3f9066fab6dc521156f84a84e7b2eb75c4
parentab676e7f2d1e9f4eb23029e6d380509fcc27e6bb
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.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212864 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
bin/sh/sh.1