aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Engel <sighunter@gmx.de>2024-08-12 22:35:40 +0200
committerUlrich Müller <ulm@gentoo.org>2024-08-23 17:16:25 +0200
commit9a7164477f77f5346e32d6073932018bdae70961 (patch)
treeff08dd5ef56d78d535d776d7ee9f57ecc5c0b1b5
parentFix multiple typos and grammatical errors (diff)
downloaddevmanual-9a7164477f77f5346e32d6073932018bdae70961.tar.gz
devmanual-9a7164477f77f5346e32d6073932018bdae70961.tar.bz2
devmanual-9a7164477f77f5346e32d6073932018bdae70961.zip
tools-reference/echo: Improve wording in abuse chapter
"should be used as less as possible" is not a correct expression, use "should be avoided" instead. Signed-off-by: Sebastian Engel <sighunter@gmx.de> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--tools-reference/echo/text.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools-reference/echo/text.xml b/tools-reference/echo/text.xml
index f72d833..9bce77c 100644
--- a/tools-reference/echo/text.xml
+++ b/tools-reference/echo/text.xml
@@ -29,12 +29,12 @@ the same as the former, but they won't print the trailing newline
<p>
All usage of the form <c>echo ${somevar} | grep substring</c> just to
-check if the content of the <c>${somevar}</c> variable
-contains <c>substring</c>, or more often, <c>echo ${somevar} |
-command</c>, is deprecated and should be (and in most cases, can be)
-used as less as possible: doing so involves for no reason an
-additional shell session and a pipe. The "here strings" section
-describes the preferred way of dealing with such cases.
+check if the content of the <c>${somevar}</c> variable contains
+<c>substring</c>, or more often, <c>echo ${somevar} | command</c>,
+is deprecated and should be (and in most cases, can be) avoided:
+doing so involves for no reason an additional shell session and a pipe.
+The "here strings" section describes the preferred way
+of dealing with such cases.
</p>
</body>
</section>