Assaf Gordon <assafgordon@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Assaf Gordon <assafgordon@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Assaf Gordon <assafgordon@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 34988) by debbugs.gnu.org; 28 Mar 2019 18:00:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 28 14:00:15 2019 Received: from localhost ([127.0.0.1]:34661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1h9ZK3-00030s-3K for submit <at> debbugs.gnu.org; Thu, 28 Mar 2019 14:00:15 -0400 Received: from mail-pf1-f170.google.com ([209.85.210.170]:42806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <assafgordon@HIDDEN>) id 1h9ZK1-0002t0-3j for 34988 <at> debbugs.gnu.org; Thu, 28 Mar 2019 14:00:13 -0400 Received: by mail-pf1-f170.google.com with SMTP id r15so11684171pfn.9 for <34988 <at> debbugs.gnu.org>; Thu, 28 Mar 2019 11:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=ONw2mjF9pMmHmaIZzM2a6nLUwnHyB+1HMdOM3FiZYE8=; b=lhzcx2fBFRhJvCIGAwumNhX5lC0kX8SLO7b3QyAJdkT92e0lWhx9u5smgUtG9jEv8L fdeNrOtjY2C7yraSgx9mX+V00I+S7nTo13jvxGt/I7iMRdQlrgxYuIJ1QKuoBfJFqvQK YMPUs4j/sjYXNoQFNMSMZVnj0ts3C0X/bnnUm49/JYIUYHiY/2z15ivG7kVdZkbUo7NV kbQ6vCx420U0gBTZ3XXUSFHwkUFK+Q6NCQTmY10HmXI06B+yILpdGpQIYXljZ1JDbMWd C8XjQjFSQx+kEAVDR1if65Qv8wAhgVicYc+uQUJtIwJbhfW/CYTCXYRIfunXtn9iMzha pYrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ONw2mjF9pMmHmaIZzM2a6nLUwnHyB+1HMdOM3FiZYE8=; b=ZlCDa3LnDBNnMzeREds7n9/Fnkajh1A4NryNIWyTYoHJ0UkNJDtcPr6jpCcizE9Zn8 jYY4170GunJ+Sqb4DWGvGo/pKUZeWcySo4L5WaGBUATbslzbW64U8uotRzuSJbnodJ4C kCvGy58lst1zgxpTwB8SWZ+pKlW31YtLkYWocrfvsLh+IYzMnnw4dIHqbBJzk7KQ0KdR SpzLJVs/u/RhB94x3BisWVSEFn/DLeMHaf9zIYzPjAFCc6entNyCo89PABAL4uhMU8Cc jiaA394jkVOKZ5LjPk8+7pajnZSEiOyF2ozfnwqBsSW9b8ijl1AAfqVTsnshXBnS1y05 rgVA== X-Gm-Message-State: APjAAAVjS7bjZNKqscZ1R+BYVtyccCjI5gpdZy3TZXXqmu/7MiH7wwq9 o7PFNjHRBl4GlnElTYxlbYbtB9FN X-Google-Smtp-Source: APXvYqzK37glFmkNpkGXzsZ0SNoLOtlMWvUX5sWx/U0AWEWJ54Ik7x6cjF/+2gsNbzqPs6EgXOqcOg== X-Received: by 2002:a63:d5f:: with SMTP id 31mr41162442pgn.274.1553796007119; Thu, 28 Mar 2019 11:00:07 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id m25sm21618258pfa.175.2019.03.28.11.00.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Mar 2019 11:00:06 -0700 (PDT) Subject: Re: bug#34988: mv: check before asking users useless questions To: Paul Eggert <eggert@HIDDEN>, =?UTF-8?B?56mN5Li55bC8IERhbiBKYWNvYnNv?= =?UTF-8?Q?n?= <jidanni@HIDDEN>, 34988 <at> debbugs.gnu.org References: <87imw7lc8o.fsf@HIDDEN> <0b41ac38-532f-c6ff-2580-fb2eb2f42f1a@HIDDEN> From: Assaf Gordon <assafgordon@HIDDEN> Message-ID: <67b0167e-a789-290f-c8d8-16181fffe3d7@HIDDEN> Date: Thu, 28 Mar 2019 12:00:05 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <0b41ac38-532f-c6ff-2580-fb2eb2f42f1a@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34988 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) tags 34988 notabug severity 34988 wishlist retitle 34988 mv: omit useless 'overwrite?' question stop On 2019-03-25 4:47 p.m., Paul Eggert wrote: > On 3/24/19 11:05 PM, 積丹尼 Dan Jacobson wrote: >> $ mv a b >> mv: overwrite 'b'? y >> mv: cannot overwrite non-directory 'b' with directory 'a' >> >> User thinks well why didn't you check before uselessly asking me? > > POSIX requires the useless question. That being said, the question could > be omitted in the case you describe, if POSIXLY_CORRECT is not specified. > Marking this as a wishlist item. -assaf
bug-coreutils@HIDDEN
:bug#34988
; Package coreutils
.
Full text available.Received: (at 34988) by debbugs.gnu.org; 26 Mar 2019 04:44:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 26 00:44:40 2019 Received: from localhost ([127.0.0.1]:58947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1h8dx2-0006qT-BW for submit <at> debbugs.gnu.org; Tue, 26 Mar 2019 00:44:40 -0400 Received: from goldenrod.birch.relay.mailchannels.net ([23.83.209.74]:63284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jidanni@HIDDEN>) id 1h8dwz-0006qF-5B for 34988 <at> debbugs.gnu.org; Tue, 26 Mar 2019 00:44:39 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id DC69D3E2435; Tue, 26 Mar 2019 04:44:35 +0000 (UTC) Received: from pdx1-sub0-mail-a57.g.dreamhost.com (unknown [100.96.39.118]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 883543E165E; Tue, 26 Mar 2019 04:44:35 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN Received: from pdx1-sub0-mail-a57.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Tue, 26 Mar 2019 04:44:35 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN X-MailChannels-Auth-Id: dreamhost X-Spill-Dime: 2c7484407fdf28e1_1553575475719_980994003 X-MC-Loop-Signature: 1553575475719:1846343538 X-MC-Ingress-Time: 1553575475718 Received: from pdx1-sub0-mail-a57.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a57.g.dreamhost.com (Postfix) with ESMTP id 08D3F804D0; Mon, 25 Mar 2019 21:44:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=pTP2qrIbGnQUEzd5IT4x5T2oq2o=; b=Jt5IilpNzb7l+ 8T1UsGt1mTySFiDdmnH+CFiq3A3SNdKB83pWOX7IABOJYnR5IYvb4i1y5mwJ3NTN w3W3kYYNF2i03GfsqblUC5rAByYhj3w5hwW9zV5PLAznRSpRabv8pr6gPnMU44Y1 LedAVLLxZkjzwi92978bovBlYsTAAk= Received: from jidanni.org (1-170-83-109.dynamic-ip.hinet.net [1.170.83.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@HIDDEN) by pdx1-sub0-mail-a57.g.dreamhost.com (Postfix) with ESMTPSA id 16819804CD; Mon, 25 Mar 2019 21:44:34 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a57 From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN> To: Leslie S Satenstein <lsatenstein@HIDDEN> Subject: Re: bug#34988: mv: check before asking users useless questions References: <87imw7lc8o.fsf@HIDDEN> <6543334.10946158.1553523032834@HIDDEN> Date: Tue, 26 Mar 2019 12:44:30 +0800 Message-ID: <87pnqemehd.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedutddrjeelgdejgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufhffkfggtgesthdtredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecukfhppedurddujedtrdekfedruddtleenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepjhhiuggrnhhnihdrohhrghdpihhnvghtpedurddujedtrdekfedruddtledprhgvthhurhhnqdhprghthheppeeruhhtfhdqkeerueerheeimhfphefnihehhegsveekreepucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqedpmhgrihhlfhhrohhmpehjihgurghnnhhisehjihgurghnnhhirdhorhhgpdhnrhgtphhtthhopeefgeelkeekseguvggssghughhsrdhgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 34988 Cc: 34988 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.9 (/) >>>>> "LSS" == Leslie S Satenstein <lsatenstein@HIDDEN> writes: LSS> Did you consider that more than one terminal can be open, and at the LSS> second terminal, "b" could be renamed before replying to the mv LSS> command? I don't know about all that. Let's hope the designers consider all aspects.
bug-coreutils@HIDDEN
:bug#34988
; Package coreutils
.
Full text available.Received: (at 34988) by debbugs.gnu.org; 25 Mar 2019 22:47:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 25 18:47:14 2019 Received: from localhost ([127.0.0.1]:58784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1h8YN7-0004Uz-TN for submit <at> debbugs.gnu.org; Mon, 25 Mar 2019 18:47:14 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:37198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eggert@HIDDEN>) id 1h8YN6-0004Uk-Ex for 34988 <at> debbugs.gnu.org; Mon, 25 Mar 2019 18:47:13 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id A72E6160A59; Mon, 25 Mar 2019 15:47:06 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id n_UlOFbUtHHs; Mon, 25 Mar 2019 15:47:05 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id E5EDA160CF0; Mon, 25 Mar 2019 15:47:05 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Uopcd4XDl2wX; Mon, 25 Mar 2019 15:47:05 -0700 (PDT) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id C2147160990; Mon, 25 Mar 2019 15:47:05 -0700 (PDT) Subject: Re: bug#34988: mv: check before asking users useless questions To: =?UTF-8?B?56mN5Li55bC8IERhbiBKYWNvYnNvbg==?= <jidanni@HIDDEN>, 34988 <at> debbugs.gnu.org References: <87imw7lc8o.fsf@HIDDEN> From: Paul Eggert <eggert@HIDDEN> Openpgp: preference=signencrypt Autocrypt: addr=eggert@HIDDEN; prefer-encrypt=mutual; keydata= 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 uNcby4U= Organization: UCLA Computer Science Department Message-ID: <0b41ac38-532f-c6ff-2580-fb2eb2f42f1a@HIDDEN> Date: Mon, 25 Mar 2019 15:47:05 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: <87imw7lc8o.fsf@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34988 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) On 3/24/19 11:05 PM, =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson wrote: > $ mv a b > mv: overwrite 'b'? y > mv: cannot overwrite non-directory 'b' with directory 'a' > > User thinks well why didn't you check before uselessly asking me? POSIX requires the useless question. That being said, the question could be omitted in the case you describe, if POSIXLY_CORRECT is not specified.
bug-coreutils@HIDDEN
:bug#34988
; Package coreutils
.
Full text available.Received: (at 34988) by debbugs.gnu.org; 25 Mar 2019 14:10:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 25 10:10:51 2019 Received: from localhost ([127.0.0.1]:58487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1h8QJM-0008I5-4O for submit <at> debbugs.gnu.org; Mon, 25 Mar 2019 10:10:48 -0400 Received: from sonic310-24.consmr.mail.ne1.yahoo.com ([66.163.186.205]:37404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <lsatenstein@HIDDEN>) id 1h8QJH-0008Hn-8d for 34988 <at> debbugs.gnu.org; Mon, 25 Mar 2019 10:10:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1553523036; bh=YnSeFz6OIEhPbah/dzsEizdF2t00Xdi5LD7jd2Ntoew=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=hscOxE9r5z8qmgLuTl9iX+/M7BFYtRkQUH77krcBJdSgIpp2d6BQ4GESD+c/cs7PZmUYEjVdnXdPI5c3xB697vKTW2eBc80b8wtqWMnN6aRV6PvSrtnJ2rVtM5v+hsyOTFdXVydn4QDtv8ytvq1Gct5XwbXNq1GHsTv5eoJgjxE4N3kVLGrxOjM/Xok1zU7ubT6Z0pHhajTZaq5KnfMe39RPRga6Z3k6IaONHaOAVqeFhAQ2N8pmX12StTHKjmOJHQTVJvoTLkpQDEmN1uR6a2MGKzLUiiQmMPNiukCb696F4WjMhEv71wi/vOuaHoo5SbWfiWuCCpRGSkAhhTXNlw== X-YMail-OSG: jXJYvm8VM1mJV3EHdZOVgo0mKZfjpL0id8WBZWmlVSIYn1yyLJm9_kOri6qXKWX 6fqkqieqZLidRXTqcgOr_4PG15.Hx10jsHtODcmnaj255TMnsNMpSzXn.PB49f7ye9AZ8kZ2.IRr txbOEPScePnqFmokpcxg7PQEaklG5T2xUxS1BHUj_rD.q9GdBNeRqN52LpAnnaSEUvZEFscVOdnm IVO7fjhbfdmJA6GZkbPFiIRzjOIHWVxj6o9dfWEPbRI6QB1gRkAcgq5uHeZCWgy1S.IPp_6nom5D uRcdHxJhkWmicyFI_qqFv6z8D39J.WZFkKOs9Vv9DgvZQH0BO1bDhbKR0gCtsWbad_a_767rGZJI GOl5pwGeUy9ZCVapr1r4r7cjvpMpxSrhaZAxts0ikZoZymJtS3bbBQF5Yqpq2WwOBjlAv5vyB8TO .EuT.6_lB9sb9gvLMPC_.5wAcyg_ADraxSX99Oxm9sN3WPmcpCZHfTFG65UkE3oPPvz_Du4BQiED lp8v0SGdZadcMo7ZOnc6sS6hlhrWM4qPQUYL_NK_mk_3tK82._hqx9JD9FMuB2qvvfxxWfUDZ.aA maWflTh4I25iNt8r9Ax1VfgqlrKcgkKoy_0BwnwBWYD9vx_dy8Zj_ppDLejLuaSGNPG290QYFrC8 9A_GtqjRmFdCQOY0ToDSSgsxNnPgwSMRkc4KWHnxi3oW8DgzY8Z9nKMy820s5oBg7aL_ndqtBoU5 Q5whexeWfwOdsircGWCq.4zxIcK6VjmkuHMJ6h3cEVDNu60kl8kDkehfUXI55JtO9qVHOzlvOqH7 .VH.nNw1KlpIR5mDgoAox3kV2K4B0LHVXG0afCUW4bYzrSoSAmYWjVpLoOQFfJCcm0F4qrujAAo7 3iWe2dDDz0.alC3ojOVz1kXTtbJx3OQKDCRVy55ujnbtvVl68q.d8JAo4n6IiJHzbawWe4u1ADJX YUMWgFCAfC5zdkf3Wt5qOiQ7NZI8nv1pPdM.DUunIWhteQ2ihZRkYJhzAKwewxGgQ.2zpbB_DgH1 GngcdcXAMXIlCOq6RXMToqMz96ubGvj9d.lkH5.9P40VZmVWHJ0CGlt8ASPsDy6hCyCBLkfgMcV_ vxoYHj2d3cCmAGEcW5JpnKAVCVw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Mon, 25 Mar 2019 14:10:36 +0000 Date: Mon, 25 Mar 2019 14:10:32 +0000 (UTC) From: Leslie S Satenstein <lsatenstein@HIDDEN> To: 34988 <at> debbugs.gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC_Dan_Jacobson?= <jidanni@HIDDEN> Message-ID: <6543334.10946158.1553523032834@HIDDEN> In-Reply-To: <87imw7lc8o.fsf@HIDDEN> References: <87imw7lc8o.fsf@HIDDEN> Subject: Re: bug#34988: mv: check before asking users useless questions MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10946157_846342849.1553523032832" X-Mailer: WebService/1.1.13212 YMailNorrin Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0 Content-Length: 3998 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34988 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Reply-To: Leslie S Satenstein <lsatenstein@HIDDEN> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) ------=_Part_10946157_846342849.1553523032832 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Did you consider that more than one terminal can be open, and at the second= terminal, "b" could be renamed before replying to the mv command? Regards=20 =C2=A0Leslie Leslie Satenstein Montr=C3=A9al Qu=C3=A9bec, Canada =20 On Monday, March 25, 2019, 2:07:25 a.m. EDT, =E7=A9=8D=E4=B8=B9=E5=B0= =BC Dan Jacobson <jidanni@HIDDEN> wrote: =20 =20 $ mv a b mv: overwrite 'b'? y mv: cannot overwrite non-directory 'b' with directory 'a' User thinks well why didn't you check before uselessly asking me? Full story: $ mkdir a $ touch b mv: overwrite 'b'? y mv: cannot overwrite non-directory 'b' with directory 'a' $ \mv a b mv: cannot overwrite non-directory 'b' with directory 'a' $ alias alias mv=3D'mv -i' So even if -i is in effect, please do the check before asking users useless questions. =20 ------=_Part_10946157_846342849.1553523032832 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html><head></head><body><div class=3D"ydp9bcbb9bfyahoo-style-wrap" style= =3D"font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px= ;"><div><div>Did you consider that more than one terminal can be open, and = at the second terminal, "b" could be renamed before replying to the mv comm= and?<br></div><div><br></div><div class=3D"ydp9bcbb9bfsignature"><div><div>= <div><div><div><div><div><span lang=3D"FR-CA">Regards</span> <div><b><font= size=3D"2"><br></font><font size=3D"2"> Leslie</font><br></b></div> <= div><font color=3D"green"><b><font size=3D"1">Leslie Satenstein</font></b><= /font><font style=3D"color:rgb(191, 0, 95);" size=3D"1" color=3D"green"><sp= an style=3D"font-weight:bold;"></span></font><br></div><font size=3D"2" col= or=3D"green"><b>Montr=C3=A9al Qu=C3=A9bec, Canada</b><br></font><br><font s= ize=3D"1" face=3D"lucida console, sans-serif"><b id=3D"ydp9bcbb9bfyui_3_13_= 0_ym1_1_1391351152837_28311"><font id=3D"ydp9bcbb9bfyui_3_13_0_ym1_1_139135= 1152837_28310" color=3D"black"><span id=3D"ydp9bcbb9bfyui_3_13_0_ym1_1_1391= 351152837_28309" style=3D"font-weight:bold;font-size:13.5pt;color:black;"><= /span></font></b></font></div></div></div></div></div></div></div></div></d= iv> <div><br></div><div><br></div> =20 </div><div id=3D"ydp8c6b4ea5yahoo_quoted_3801234154" class=3D"ydp8c= 6b4ea5yahoo_quoted"> <div style=3D"font-family:'Helvetica Neue', Helvetica, Arial, s= ans-serif;font-size:13px;color:#26282a;"> =20 <div> On Monday, March 25, 2019, 2:07:25 a.m. EDT, =E7=A9=8D= =E4=B8=B9=E5=B0=BC Dan Jacobson <jidanni@HIDDEN> wrote: </div> <div><br></div> <div><br></div> <div><div dir=3D"ltr">$ mv a b<br></div><div dir=3D"ltr">mv= : overwrite 'b'? y<br></div><div dir=3D"ltr">mv: cannot overwrite non-direc= tory 'b' with directory 'a'<br></div><div dir=3D"ltr"><br></div><div dir=3D= "ltr">User thinks well why didn't you check before uselessly asking me?<br>= </div><div dir=3D"ltr"><br></div><div dir=3D"ltr">Full story:<br></div><div= dir=3D"ltr">$ mkdir a<br></div><div dir=3D"ltr">$ touch b<br></div><div di= r=3D"ltr">mv: overwrite 'b'? y<br></div><div dir=3D"ltr">mv: cannot overwri= te non-directory 'b' with directory 'a'<br></div><div dir=3D"ltr">$ \mv a b= <br></div><div dir=3D"ltr">mv: cannot overwrite non-directory 'b' with dire= ctory 'a'<br></div><div dir=3D"ltr">$ alias<br></div><div dir=3D"ltr">alias= mv=3D'mv -i'<br></div><div dir=3D"ltr"><br></div><div dir=3D"ltr">So even = if -i is in effect, please do the check before asking users<br></div><div d= ir=3D"ltr">useless questions.<br></div><div dir=3D"ltr"><br></div><div dir= =3D"ltr"><br></div><div dir=3D"ltr"><br></div></div> </div> </div></body></html> ------=_Part_10946157_846342849.1553523032832--
bug-coreutils@HIDDEN
:bug#34988
; Package coreutils
.
Full text available.Received: (at submit) by debbugs.gnu.org; 25 Mar 2019 06:06:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 25 02:06:20 2019 Received: from localhost ([127.0.0.1]:57420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1h8IkU-0002Ww-QS for submit <at> debbugs.gnu.org; Mon, 25 Mar 2019 02:06:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jidanni@HIDDEN>) id 1h8IkS-0002Wg-7w for submit <at> debbugs.gnu.org; Mon, 25 Mar 2019 02:06:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:36060) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1h8IkN-0001XS-51 for submit <at> debbugs.gnu.org; Mon, 25 Mar 2019 02:06:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1h8IkM-0001n4-5z for bug-coreutils@HIDDEN; Mon, 25 Mar 2019 02:06:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_50,FROM_EXCESS_BASE64, RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1h8IkI-0001K6-I4 for bug-coreutils@HIDDEN; Mon, 25 Mar 2019 02:06:10 -0400 Received: from common.maple.relay.mailchannels.net ([23.83.214.38]:31825) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1h8IkI-0001HL-1P for bug-coreutils@HIDDEN; Mon, 25 Mar 2019 02:06:06 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 6EB7E5C4FCE for <bug-coreutils@HIDDEN>; Mon, 25 Mar 2019 06:06:03 +0000 (UTC) Received: from pdx1-sub0-mail-a37.g.dreamhost.com (unknown [100.96.14.45]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 2E7645C5252 for <bug-coreutils@HIDDEN>; Mon, 25 Mar 2019 06:06:03 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN Received: from pdx1-sub0-mail-a37.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Mon, 25 Mar 2019 06:06:03 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN X-MailChannels-Auth-Id: dreamhost X-Arithmetic-Shrill: 2b2d5cf331953659_1553493963274_4268933580 X-MC-Loop-Signature: 1553493963274:4283592658 X-MC-Ingress-Time: 1553493963274 Received: from pdx1-sub0-mail-a37.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a37.g.dreamhost.com (Postfix) with ESMTP id C45407FEE0 for <bug-coreutils@HIDDEN>; Sun, 24 Mar 2019 23:06:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=sUqEPVzokC7HDPek22U/w51RHk0=; b=J4sTApmie+eR7Nk1 wSAJcIvNrNR5rfVKBBuUOTr6N+gtu9EoAoOiti7RsK97hLU1Bqi0qaXZ1L2OusW+ gIg5Uhc1YGN9VzhzfS4+5b4DQ0DWoyG7itIrjAVX8z2iHLSJbIBvtJqhTqL1Czpv 3uHIZZsfkzYvOIz2IMB60myuhq4= Received: from jidanni.org (111-246-96-69.dynamic-ip.hinet.net [111.246.96.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@HIDDEN) by pdx1-sub0-mail-a37.g.dreamhost.com (Postfix) with ESMTPSA id 7216080960 for <bug-coreutils@HIDDEN>; Sun, 24 Mar 2019 23:06:02 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a37 From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN> To: bug-coreutils@HIDDEN Subject: mv: check before asking users useless questions Date: Mon, 25 Mar 2019 14:05:59 +0800 Message-ID: <87imw7lc8o.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedutddrjeejgdehjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecukfhppeduuddurddvgeeirdeliedrieelnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepudduuddrvdegiedrleeirdeiledprhgvthhurhhnqdhprghthheppeeruhhtfhdqkeerueerheeimhfphefnihehhegsveekreepucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqedpmhgrihhlfhhrohhmpehjihgurghnnhhisehjihgurghnnhhirdhorhhgpdhnrhgtphhtthhopegsuhhgqdgtohhrvghuthhilhhssehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 23.83.214.38 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) $ mv a b mv: overwrite 'b'? y mv: cannot overwrite non-directory 'b' with directory 'a' User thinks well why didn't you check before uselessly asking me? Full story: $ mkdir a $ touch b mv: overwrite 'b'? y mv: cannot overwrite non-directory 'b' with directory 'a' $ \mv a b mv: cannot overwrite non-directory 'b' with directory 'a' $ alias alias mv='mv -i' So even if -i is in effect, please do the check before asking users useless questions.
積丹尼 Dan Jacobson <jidanni@HIDDEN>
:bug-coreutils@HIDDEN
.
Full text available.bug-coreutils@HIDDEN
:bug#34988
; Package coreutils
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.