Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753822AbaBDBcG (ORCPT ); Mon, 3 Feb 2014 20:32:06 -0500 Received: from mail-pa0-f50.google.com ([209.85.220.50]:36708 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752388AbaBDBcD (ORCPT ); Mon, 3 Feb 2014 20:32:03 -0500 Date: Mon, 3 Feb 2014 17:32:00 -0800 (PST) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Sebastian Capella cc: Alexey Dobriyan , Linux Kernel , mm-commits@vger.kernel.org, Joe Perches Subject: Re: + mm-utilc-add-kstrimdup.patch added to -mm tree In-Reply-To: <20140204012816.22878.4159@capellas-linux> Message-ID: References: <52ec195e.P8S/D298ZeaBLTvn%akpm@linux-foundation.org> <20140204012816.22878.4159@capellas-linux> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 3 Feb 2014, Sebastian Capella wrote: > I am in the process of reworking the patches. I'm not sure if Andrew > was just interested in having the kstrimdup utility function available. > I think the point Alexey is making is that whitespace is already stripped by the shell unless quoted; it seemed that you may have had a usecase where the string to be written would not be stripped by the shell for whatever reason and there was no convenient way to do it specifically for the file you were modifying? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/