From: Ian Jackson Subject: Re: Re: [PATCH] libxl: clean up trailing whitespaces in code. [and 1 more messages] Date: Tue, 19 Jul 2011 16:03:21 +0100 Message-ID: <20005.40121.181960.153745@mariner.uk.xensource.com> References: <1310803412.7358.8.camel@limbo> <20004.15232.269223.658221@mariner.uk.xensource.com> <1311000480.17071.8.camel@iceland> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1311000480.17071.8.camel@iceland> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Wei LIU Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Wei LIU writes ("Re: [Xen-devel] Re: [PATCH] libxl: clean up trailing whitespaces in code. [and 1 more messages]"): > I just run the command in libxl directory and commit all changes. Then I > generate the patch with > $ git show HEAD > ~/libxl-whitespace-cleanup.patch > The attached patch should be correct. No fixup is required. > > I also re-compile libxl, all goes well. Great, thanks a lot. I have applied the change. I found that my sed didn't understand -E so I did this instead: find \! -iname '*.txt' -type f -print0 | xargs -0 perl -p -i.bak -E 's/\s+\n/\n/' Ian.