From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 28577A0353; Sun, 27 Feb 2022 23:35:57 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AA0694068C; Sun, 27 Feb 2022 23:35:56 +0100 (CET) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id 7710740683 for ; Sun, 27 Feb 2022 23:35:55 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id B942C5C0152; Sun, 27 Feb 2022 17:35:54 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 27 Feb 2022 17:35:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; bh=hVPMvEiiEj/TuA c7YUenepkAYResXBvoTvWSih+H+uA=; b=NBOzcSgCfj3Uu0A70mF5KaoRsQRolp CWdwOAOQk7WsTMx1hDSQHc8oZNWA1i6yRxBAXwz6tt8nCbi1kv8KTXCvxZzK41nT zgWqIIW9JjcqZO21WOhqeVG2m+oIo5NPcWNgkugZhUckEN72288fLRkAbrAsWis8 D41uztQtWjHN+QclyXntkaEqJzmUsCq9x/xsfwX2pbvKQfjxnVb69QR+zm89wjoi dFTtBfjeo9kcxaPXowW2qCMkWrQ1oMgBoLoStq/ttryuT7LJPlg6Pzz1L7ilHJhg Q0FfwBpkgKMP64vlQ/fSGYSjDWRSXraM6U4j04D/Tdtswecx1+0T0qow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=hVPMvEiiEj/TuAc7YUenepkAYResXBvoTvWSih+H+ uA=; b=TuBZlIHIYIJLkcaSNFMjuk8MLo7TvHdZ+g0U4t+/QRI/dLAEfstxXbMgb gyC/avxjyksOJVw/p22q2Hm2wUYxZYio7bzbkbFSSW+lCLX9NkRLM+6RCiukcXOj +DrLXJ/uEt11qxRg3F4gT1m3m59O3b7Y4qh8VvO1vmItpHBvKiaXIs1UQzEuhjQZ nYdwA+CBwJjixFByYdAX/V1AFZ1PIPmayhX0mQkoTSQmdAQKsexUkyOKzI/M9HRW jyTvwYkepImuN6pQxFtcxo7PKQzL9YHpKECupANntBFzJhjUW1d2dR7lZTVolp1s WPJT/pLPXdAQ+GMWefI5F3J7PT7/g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrleekgdduiedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 27 Feb 2022 17:35:54 -0500 (EST) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org Subject: Re: [PATCH 2/2] examples: add missing newline at eof Date: Sun, 27 Feb 2022 23:35:52 +0100 Message-ID: <4062580.yKVeVyVuyW@thomas> In-Reply-To: <20220227133207.3c3a53fe@hermes.local> References: <20220225174703.100447-1-stephen@networkplumber.org> <4267929.Mh6RI2rZIc@thomas> <20220227133207.3c3a53fe@hermes.local> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 27/02/2022 22:32, Stephen Hemminger: > On Sun, 27 Feb 2022 21:27:40 +0100 > Thomas Monjalon wrote: > > > 25/02/2022 18:47, Stephen Hemminger: > > > The text file did not end with newline. > > > > > > Signed-off-by: Stephen Hemminger > > > > Series applied, thanks for the cleanup. > > > > Could we add a check in checkpatch to avoid it in future? > > The only tool I saw to find these was > pcregrep -LMr '\n\Z' > > But probably possible with a complex python one-liner... It can be done with diff: diff /dev/null $file | tail -1 | grep '^\\ No newline'