From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id 338082B4E1 for ; Wed, 12 Jun 2024 14:26:34 +0200 (CEST) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1718195194; b=AinhcquR/NVRH28ShQLMrqxzqpjPUQHX8cwng+5SIRIpocfFVRY6jBMzIldqM6VinN0ZFiajhc OTyzidAk//McfapVcAzc9oiFYO1EcfN/3ej6ohA+4J/5yG5gXI9+7u9evaEt8a2kB76KqK6Dni 1deW/a5Xd51EI5gz2FMLGLGWTQw843Z/4RXbWajLkK+6tcUqkqEaiaIYW7WyCFiPlx9iQ1c7ly y0bObcyLMpeoggMd8AO/+H43UKpx9RrodPy73RfEB1zwTbqbwnfj/wDoLByelSG//4yZhC54bb w4/fODLXy0PjnDgcDHBTAyM00WNmZjRic+bE9N+o4MTpnA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (hekla.abc.se) smtp.remote-ip=158.174.61.227; dkim=pass header.d=abc.se header.s=default header.a=rsa-sha256; dmarc=none header.from=abc.se; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1718195194; bh=Igsk+/uPMAjMfMQgTEvIk5Q1imO96+vhDIX+soV8aOE=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:DKIM-Signature: DKIM-Signature; b=ev+OzDaKyKYPHHbLCVvZGk2fbYRkldwF9Nw5id1t2/BNyziMlgOWDXYEih2rViHu15PkQWRknU AjV8RS+lbV0EBjhVE/Bp8M+oNzte+RpFn/QHetjet0MDnm44dwOC/djDAOJlH1S8XAvmp8h6zw UKWQWo8EOMluYZesX1t6forLzjVhttC01na2Ct3Gt0JtqQ4MlQJGz4HpVNQl/OyQJMYySENwNN WvvUURBBj1WS6bKqK64apk68pSM2nGkUjy2KFwlbGZwBZSgUlDN2/v0wl5wAgz44Uxkehodff6 5QwBSU+ONvqP52SmkBm3q7ULlnVaUKh1IH7jZJXF1mXHOA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID; bh=enPjCdBE/4NJOBEDMQpOLSOyTdVmpAHO5sd4paK4W1A=; b=ADkSunyrc8Ao6eeX+xGdUU/6pd gaNeXRjvWJQ5LfTgl9XHGYWlbpPLM85k++GkRzPTyCRIionwORXdacJTGk5mDtGsf93NCLfC/PxlC 2A+pgm+AAP3bJEJKUJTJwVQS/b6hI1kPkHrJNYZHtyMDiLAtqgsvg/lu9ERXs9guAHKITyzzMEHQR LNK+GfLXmML+fNGE0jryCKwOf3QoQKaX8RLEWDYNAIN9hD9aLz9nDmEXJJolfrM2NkKhUWXhrb3xs psKbuLxL8SB4G5KjtEkSx0/MT/aIaQRZmw2qcMCauLiz8vCgQJvyHUZtGLKQNMi3xrIi06pKVxHdV XmEnyyjw==; Received: by zero.zsh.org with local id 1sHN3i-000210-N6; Wed, 12 Jun 2024 12:26:34 +0000 Authentication-Results: zsh.org; iprev=pass (hekla.abc.se) smtp.remote-ip=158.174.61.227; dkim=pass header.d=abc.se header.s=default header.a=rsa-sha256; dmarc=none header.from=abc.se; arc=none Received: from hekla.abc.se ([158.174.61.227]:2175) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1sHN35-0001IE-Bc; Wed, 12 Jun 2024 12:25:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=default; bh=enPjCdBE/4 NJOBEDMQpOLSOyTdVmpAHO5sd4paK4W1A=; h=in-reply-to:references:subject: cc:to:from:date; d=abc.se; b=SM09FM21VkJbDVIX0FfSPaKLP2bM8OMDWy7ZIje7O zfjjDmuuF+feGcSoG1GBNMDBOcu0wN9I2HgOL9mr4W81XKbxTZqbtf5lanvgngA18o5D5g B6HumeiON+kLsaJ29tbsFA+eqfI52Cf/d/G0buVVSbseV5MZjKZ69pQ3/iih847nYa9Dbz RUHGTKytveMBJCT+Z32w22G/IehkZ6hQOT3G2Dh3j0wAw/vVaDJ46MQ8WS5nMe0tGmDi6E I3QWSf8zyQ6Md7i3TeFPHZD31vU5RdP3jnCypWzoeVnUWtPfFkxTiFUFWmgZuoO9DiuAZ6 +02cM+BxIhN7K3bSeYHXg== Received: from eeyore.local (94-255-134-119.cust.bredband2.com [94.255.134.119]) by hekla.abc.se (OpenSMTPD) with ESMTPSA id d2786065 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 12 Jun 2024 14:25:53 +0200 (CEST) Date: Wed, 12 Jun 2024 14:25:52 +0200 From: Andreas =?iso-8859-1?B?S+Ro5HJp?= To: Denis =?iso-8859-1?Q?Bitouz=E9?= Cc: zsh-users@zsh.org Subject: Re: How to delete .*.~undo-tree~ files? Message-ID: Mail-Followup-To: Denis =?iso-8859-1?Q?Bitouz=E9?= , zsh-users@zsh.org References: <87wmmu79zu.fsf@example.com> <87a5jq73p0.fsf@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87a5jq73p0.fsf@example.com> X-Seq: 30024 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: On Wed, Jun 12, 2024 at 02:20:27PM +0200, Denis Bitouzé wrote: > Le 12/06/24 à 13h30, Marc Chantreux a écrit : > > >> ┌──── > >> │ rm -f .foo.\~undo-tree\~ > >> └──── > > > > You can also quote things instead of protecting each chars separately. > > I have the feeling it's more readable because of the expectations > > brains when you used non-bareword langages for years. > > > > ┌──── > > │ rm -f ".foo.~undo-tree~" > > └──── > > Indeed, thanks! > > Anyway: > > ┌──── > │ rm -f ".*.~undo-tree~" > └──── > > doesn't remove in mass all the .*.~undo-tree~ in my current directory. > > Regards. > -- > Denis ... because a quoted * does not glob anything. rm -f .*.'~undo-tree~' -- Andreas (Kusalananda) Kähäri Uppsala, Sweden .