From bab98b75e11e1bd3669eb0458b27d4d764fa1b3b Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Fri, 7 Dec 2012 13:00:58 +0000 Subject: [PATCH] Rewrap minimal-sh Translators may ignore PR: 174029 Submitted by: Derek Wood Approved by: bcr (mentor) --- en_US.ISO8859-1/books/faq/book.xml | 35 +++++++++++++++--------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/en_US.ISO8859-1/books/faq/book.xml b/en_US.ISO8859-1/books/faq/book.xml index de47559c23..efba0b8c06 100644 --- a/en_US.ISO8859-1/books/faq/book.xml +++ b/en_US.ISO8859-1/books/faq/book.xml @@ -3980,33 +3980,34 @@ kern.timecounter.hardware: TSC -> i8254 - 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.)