From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB04BC47255 for ; Mon, 11 May 2020 14:05:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C3FA520736 for ; Mon, 11 May 2020 14:05:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589205910; bh=7SgyhWGUh0wPIruatp/c7gv8B3mqcIESafxuZRcMzAs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=u+0pmGwllL/7Gm1t37r2L8uE6cIVEMtXh/HPghoO+r4OWHn5OrJCjcnldfhE3I7C8 PlR/fMUpJh/UVJnbb6oEPVo+7hH67YPcnfrNxEzuRb6uVIaezyOeOSvxb+f7alquIk jhGiajglEFv4pVMDirMdHIhzalqJxGtqzWV4KBPg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730296AbgEKOFK (ORCPT ); Mon, 11 May 2020 10:05:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:44604 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730274AbgEKOFK (ORCPT ); Mon, 11 May 2020 10:05:10 -0400 Received: from devnote2 (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 262C2206D3; Mon, 11 May 2020 14:05:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589205909; bh=7SgyhWGUh0wPIruatp/c7gv8B3mqcIESafxuZRcMzAs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=mZfdeT4pv3a87d9jWl5oRq9uHnvxVqpOd/zSzNZzrTDzLKVQDCWzPsLqLPxn+kmcC N87UWjiBYCpLpExWAR7KCahCh3bzGcfBn/w7McUr/M6lL8sgGA+FWVXtC6EaaN/DSe sWWPz+15o2Hcmm8wGCNOQ+phQiwOuGlT+7rMMcuo= Date: Mon, 11 May 2020 23:05:05 +0900 From: Masami Hiramatsu To: David Laight Cc: Shuah Khan , Steven Rostedt , "linux-kselftest@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Tom Zanussi , Li Philip , Liu Yiding , Xiao Yang , Andreas Schwab Subject: Re: [PATCH v2] selftests/ftrace: Use printf for backslash included command Message-Id: <20200511230505.dc343ffa6ede2b45322e3965@kernel.org> In-Reply-To: References: <87imh21x6f.fsf@igel.home> <158920418730.16156.8299185499520876735.stgit@devnote2> <20200511223804.9483cab03c9221818ff4fc5b@kernel.org> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org On Mon, 11 May 2020 13:46:35 +0000 David Laight wrote: > From: Masami Hiramatsu > > Sent: 11 May 2020 14:38 > > > > Hi Andreas and David, > > > > OK, what about this fix? > > No idea what it is trying to do or why. > Just a way of avoiding the differences between SYSV and BSD /bin/echo. > > IIRC Posix allows both behaviours (and probably others). Ah, I got it. That's why POSIX said "the results are implementation-defined." https://pubs.opengroup.org/onlinepubs/009695399/utilities/echo.html Thank you! -- Masami Hiramatsu