From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id F3BC41F453 for ; Tue, 19 Feb 2019 18:23:32 +0000 (UTC) Received: from localhost ([127.0.0.1]:53276 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwA3G-000056-BV for normalperson@yhbt.net; Tue, 19 Feb 2019 13:23:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gw9yw-0005Fy-El for bug-gnulib@gnu.org; Tue, 19 Feb 2019 13:19:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gw9yv-0006ze-M2 for bug-gnulib@gnu.org; Tue, 19 Feb 2019 13:19:02 -0500 Received: from mo6-p01-ob.smtp.rzone.de ([2a01:238:20a:202:5301::12]:29682) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gw9yu-0006xv-NE for bug-gnulib@gnu.org; Tue, 19 Feb 2019 13:19:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1550600338; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=PgaTyGsJVkRqOyUNvBPEwXqosQz0b+N6cTcrDSLHawk=; b=cDxtiafo39EjClsW3r+6Du2FWzxV7jq6knXGBUslEv22YoD9Btpf7lVj09v/cxSgkh F2DZ8+C+Eey/M+5A9uxbKGyDa2vPPUcXD3hd6T3h4j5488QEML2VRKiQJ97a+VrKR4MA JAbYjLrMgIU5ytGxATdTQEskSbS5gL4lAlj+MQHfYHgSvnhnWeoTZ32g2rSP7mkeRZ1A pAuQOC/5d1hIJDftbhE4j8u5iP0zBOJI0C0UTU62XOX0XXfmqfmN/5Jd0QFccsz6XhqC pP99uF4l8bMtwEFBJ1rHBXsjpEuRuHViNBv5kmSEiRwEFv/GrK4qNmKVA9iFaIuczIkz UvLg== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOGaf3zJZW" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 44.9 DYNA|AUTH) with ESMTPSA id v0a34ev1JIIvoZS (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Tue, 19 Feb 2019 19:18:57 +0100 (CET) From: Bruno Haible To: Pavel Raiskup Subject: Re: gnulib-tool: Improve handling of multiple --local-dir options Date: Tue, 19 Feb 2019 19:18:57 +0100 Message-ID: <2931584.EFCJPvSFVq@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-141-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <33012288.smD7kdOuTz@raiskup> References: <6157407.BPRi2t5o0z@omega> <33012288.smD7kdOuTz@raiskup> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5301::12 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bug-gnulib@gnu.org Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" Hi Pavel, > > makes the IFS handling a bit more robust. What I meant is that save_IFS="$IFS" for fpf_dir in $fpf_dirs do IFS="$save_IFS" [Some more code] done IFS="$save_IFS" is more robust than save_IFS="$IFS" for fpf_dir in $fpf_dirs do [Some more code] done IFS="$save_IFS" because the [Some more code] may invoke word splitting, and as a programmer I would expect this word splitting to be performed against the default IFS. Bruno