From 9a7164477f77f5346e32d6073932018bdae70961 Mon Sep 17 00:00:00 2001 From: Sebastian Engel Date: Mon, 12 Aug 2024 22:35:40 +0200 Subject: tools-reference/echo: Improve wording in abuse chapter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "should be used as less as possible" is not a correct expression, use "should be avoided" instead. Signed-off-by: Sebastian Engel Signed-off-by: Ulrich Müller --- tools-reference/echo/text.xml | 12 ++++++------ 1 file 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

All usage of the form echo ${somevar} | grep substring just to -check if the content of the ${somevar} variable -contains substring, or more often, echo ${somevar} | -command, 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 ${somevar} variable contains +substring, or more often, echo ${somevar} | command, +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.

-- cgit v1.2.3-65-gdbad