Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1883956ybk; Mon, 11 May 2020 06:44:24 -0700 (PDT) X-Google-Smtp-Source: APiQypIPHzxFk3m2u96x6e2Ip6L3vLw4YULIcnCWeGtNLyixvtdLGzKEG85KfGSd7k4lNFbFFdHu X-Received: by 2002:a50:e14f:: with SMTP id i15mr11139310edl.139.1589204664601; Mon, 11 May 2020 06:44:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589204664; cv=none; d=google.com; s=arc-20160816; b=c5QhTdv5oI45lSRjFyCknP65Faivp0JTQmNHT2lsyHUC25PSAPYHsAylxIIJIJTGF7 PL1954gF1WEbZ/anbBOl9uZ7easq2XOP61cAcWYYPj9ZNv4pzE9MFEjCNV1r5JMtBqbj RgImgpnNTRtL++z5PkehEtWLiMBmoKXbVS4H3RYjLBZlZEceLgwHr7L/cDMygZhSvJ34 +ri2lFAthbNcnPhmLd28PuV7g/iCz6/KowMTFd8VEIN6ZEBGgDYDdOkgbKRQJcvp8M3g e7g9HUuV99l/UUMsalQ7K1S/h8WqHJLDumySKdvvLVkIL1zMMKxqZQ3nkBXmdKg/99WL 4P6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=JZIF263Zbmt05kdJap7XbDaU3H5hSo6vPMc9Wg9UPVA=; b=AuFl8AP1NolsKlymd5IPSHYq3oT+lMTaNa2EiptM5w+6YOe5puyPTbj+lVicXhqDxb p5CAhRcX5OqxgFO4xIFZ6rWWMgLdWRTfvpFoyu3lcTmUZwp0Dm9AGJA/HifEkdb7z/1G W91dcthZrW9IPLKsNUu0EouDiodsIplMN93PObZTzBwjdWvSh78YfSTRtJcGCROBjXyz Dr704h+g14ZRrO/sD2uIXT7H9dftTK06hiZV6RHi4myKQfI5xcztl1eF9e60E83HPLFW UsPkjs0JtmeTPOmZOTPJ7KUnOvah0/64VKh6xZWDhZIjtPrILplwFs2Aj8g0p4hlMdiK 8Gdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j5si6572553ejj.183.2020.05.11.06.44.01; Mon, 11 May 2020 06:44:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730072AbgEKNmR (ORCPT + 99 others); Mon, 11 May 2020 09:42:17 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:42099 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726438AbgEKNmQ (ORCPT ); Mon, 11 May 2020 09:42:16 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 49LMYc1bBCz1rt4N; Mon, 11 May 2020 15:42:12 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 49LMYc0L6Tz1qsq0; Mon, 11 May 2020 15:42:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 37BlDO4TIoAi; Mon, 11 May 2020 15:42:11 +0200 (CEST) X-Auth-Info: IS0df1w8Uyem1eXC2HWL/5OefJDOtwX9AlgVkgZb2zMHw7uoEiti81JzSLoFgDpA Received: from igel.home (ppp-46-244-172-93.dynamic.mnet-online.de [46.244.172.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 11 May 2020 15:42:11 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 89FFD2C0C52; Mon, 11 May 2020 15:42:10 +0200 (CEST) From: Andreas Schwab To: Masami Hiramatsu Cc: Shuah Khan , Steven Rostedt , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Zanussi , Li Philip , Liu Yiding , Xiao Yang , David Laight Subject: Re: [PATCH v2] selftests/ftrace: Use printf for backslash included command References: <87imh21x6f.fsf@igel.home> <158920418730.16156.8299185499520876735.stgit@devnote2> X-Yow: This PORCUPINE knows his ZIPCODE.. And he has ``VISA''!! Date: Mon, 11 May 2020 15:42:10 +0200 In-Reply-To: <158920418730.16156.8299185499520876735.stgit@devnote2> (Masami Hiramatsu's message of "Mon, 11 May 2020 22:36:27 +0900") Message-ID: <87eerq1tcd.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mai 11 2020, Masami Hiramatsu wrote: > - (! echo "$command" >> "$3" ) 2> /dev/null > + (! printf "%s" "$command" >> "$3" ) 2> /dev/null printf %s does not print a newline, you need printf '%s\n' for that. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."