From owner-svn-doc-all@FreeBSD.ORG Fri Dec 7 13:00:59 2012 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EDAFA691; Fri, 7 Dec 2012 13:00:58 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id D3BF98FC17; Fri, 7 Dec 2012 13:00:58 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB7D0whc099148; Fri, 7 Dec 2012 13:00:58 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB7D0w5V099147; Fri, 7 Dec 2012 13:00:58 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201212071300.qB7D0w5V099147@svn.freebsd.org> From: Eitan Adler Date: Fri, 7 Dec 2012 13:00:58 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r40297 - head/en_US.ISO8859-1/books/faq X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 13:00:59 -0000 Author: eadler Date: Fri Dec 7 13:00:58 2012 New Revision: 40297 URL: http://svnweb.freebsd.org/changeset/doc/40297 Log: Rewrap minimal-sh Translators may ignore PR: 174029 Submitted by: Derek Wood Approved by: bcr (mentor) Modified: head/en_US.ISO8859-1/books/faq/book.xml Modified: head/en_US.ISO8859-1/books/faq/book.xml ============================================================================== --- head/en_US.ISO8859-1/books/faq/book.xml Fri Dec 7 13:00:56 2012 (r40296) +++ head/en_US.ISO8859-1/books/faq/book.xml Fri Dec 7 13:00:58 2012 (r40297) @@ -3980,33 +3980,34 @@ kern.timecounter.hardware: TSC -> i82 - Why is /bin/sh so minimal? Why does - &os; not use bash or another + Why is /bin/sh so minimal? Why + does &os; not use bash or another shell? - Many people need to write - shell scripts which will be portable across many systems. - That is why &posix; specifies the shell and utility commands - in great detail. Most scripts are written in Bourne shell (&man.sh.1;), - and because several important programming interfaces - (&man.make.1;, &man.system.3;, &man.popen.3;, and analogues - in higher-level scripting languages like Perl and Tcl) are - specified to use the Bourne shell to interpret commands. - Because the Bourne shell is so often and widely used, it is - important for it to be quick to start, be deterministic in - its behavior, and have a small memory footprint. + Many people need to write shell scripts which will be + portable across many systems. That is why &posix; + specifies the shell and utility commands in great detail. + Most scripts are written in Bourne shell (&man.sh.1;), and + because several important programming interfaces + (&man.make.1;, &man.system.3;, &man.popen.3;, and + analogues in higher-level scripting languages like Perl + and Tcl) are specified to use the Bourne shell to + interpret commands. Because the Bourne shell is so often + and widely used, it is important for it to be quick to + start, be deterministic in its behavior, and have a small + memory footprint. The existing implementation is our best effort at meeting as many of these requirements simultaneously as we - can. In order to keep /bin/sh small, we - have not provided many of the convenience features that + can. In order to keep /bin/sh small, + we have not provided many of the convenience features that other shells have. That is why the Ports Collection includes more featureful shells like bash, scsh, - &man.tcsh.1;, and zsh. (You - can compare for yourself the memory utilization of all these + &man.tcsh.1;, and zsh. (You can + compare for yourself the memory utilization of all these shells by looking at the VSZ and RSS columns in a ps listing.)