From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wGU5GSmMLWfH/AAA62LTzQ:P1 (envelope-from ) for ; Fri, 08 Nov 2024 03:57:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wGU5GSmMLWfH/AAA62LTzQ (envelope-from ) for ; Fri, 08 Nov 2024 04:57:29 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=qq.com header.s=s201512 header.b=Lvo7TZYA; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731038249; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=bi7HuXQ4iNx/S3bb2VSK/5uao9cXiUzhhJsQexjqUXo=; b=OfIvzbYJlwqxd+nKVvXzIrhO5VDm7OeJKZWtHa051U7oe3EQsa0LUacg1ZPsN6BrPmytsu KdHzziC9cTsNXv+sg/0ymIu2qKo8kyzLP3WxobIkxOOKWXdULG1nRRWdG4mclKaLovijoV TU69956sFiVZRMVYE4Pj5z2nmPzPf1HJC0qaqqViYxRPe8XQXr01hIiiLxgz4ut1Xl9tm2 nWyvjEpteRxmwU2Lj74SBxFQkXiQhaHihw54gaC06E6GuRh31IqjaijmQMS8xwi3GO3ddz eDWUjdSauP0isNThpWVx5sVqEJJrAbdvhvUMR336cpMsYlZSO/3k+5sqpvgPDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=qq.com header.s=s201512 header.b=Lvo7TZYA; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731038249; a=rsa-sha256; cv=none; b=n/TY3HYnYoOR20X5AGiDrhNbraJPdhylEJh6oeST2Y5wYvKHlR/DAHUIFyoptmrUs6MnOy 0WUNNrF/f2XpMIaGOjxgoKnGxOCZ/kfapgNAKxsLbSxnqecOMgsfbnvzCRZ6n77wsPOgM3 Rx28Rqm7vo07UQ7rpvxmx5zSkQ8K+BWLvwGUcGhCEdyRa8fPpi7jcbfc7OjGvzb6MDEoJ2 zZ5UXESCUvdidlWtWpMiNrKNzgJAyHx0d4mnOMcnuouSoEj7bZJVwG1KasGxb8T7q+eYyb cLOk8LcUq+PxYbxgZFKv/U1YTeqRazprLSN3rnuKl1Ndrn6xquOWiikh4y5qfQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0A53881FF7 for ; Fri, 08 Nov 2024 04:57:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9G6u-0005uQ-6v; Thu, 07 Nov 2024 22:56:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9G6s-0005u1-0C for emacs-orgmode@gnu.org; Thu, 07 Nov 2024 22:56:34 -0500 Received: from xmbghk7.mail.qq.com ([43.163.128.48]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9G6o-0003ZE-F0 for emacs-orgmode@gnu.org; Thu, 07 Nov 2024 22:56:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1731038183; bh=bi7HuXQ4iNx/S3bb2VSK/5uao9cXiUzhhJsQexjqUXo=; h=Subject:From:To:Date:In-Reply-To:References; b=Lvo7TZYA7zZ5zufbJdJP5bjeDhwFZ9AXU7jBHGRu0rdTdSdpLfH5nDJb66m6K028F 62bwBIDmBDV4yivuYKds5BWuTE2c86KIVJkmrV7dKQQtFbRkFeXDWNSnQ3uOr20nYl H+Y51h6ePKbFFCKuQbWAgBVg5+9VgjCc8vbgR4xk= Received: from [10.8.166.199] ([171.217.24.55]) by newxmesmtplogicsvrszc13-0.qq.com (NewEsmtp) with SMTP id E15A7C5D; Fri, 08 Nov 2024 11:56:21 +0800 X-QQ-mid: xmsmtpt1731038181tcixi26x0 Message-ID: X-QQ-XMAILINFO: NC4p7XQIBeahj2hML7k4y2zdrXRWEYNN2D5DE9jvH1zM6kSwR8TatRIN4V6Hak fPO+8FtFvdZXdrzXPX9HFb3oxgb/haIN1ytCFTRDbRhaXwrMFwdBnjestIpnh0zSiaQVPVtFCnwE x5bWX6xMxwlSBbcYZBSPmcPcUVmLuhDAo1xQNcQT+oe7U1C8RhCTdkaOChXmslEBVoH2inERq7HK wDij39Hs6YD/bCoGHFI2n8MnuMlt5kOctgNmt2jVqx9ARF+oTFOUGSGO41xvkcgjhISMUmD1daW6 ofA7n2xV/Xm6+jjBZ+G2O3od3jJbg3qp3Ix6fpyNMFqPnGOKJ0FP9ScLmaEd9ecpQJAlSGckGdL9 ovg7874h/g70qIS+waWOMfgWl76UQlLa3anZG23emh+zmlJ1ArtUg3uVgMXoOBJaXefjb9oA+APo jjht277eDcixNJ7xde971hRAqzlE25IxYsFJpSQrqrZeZfX7v8KX0j6KWgcUulKi0TUUG/wqo3y7 u5WlbkbQwKxsY+Kz9xpB7XnFNWNi3D9IsxNG8F8IGntqeXv012r0FuNxiL80HWaSziC48UzjUKls C4ZiyJMquSuJoOk8oif389VlfM3PJ/UOlken+PzJ8Q9065oGkdfdsjAOMP0whAG47d714Ch5wTSR 0xtY3VtD1BjBDsAHnF6/SiVBZh6Ju5uOlJ+6O4bl+O+OjOYv33FIjfL+gsu67Z7zicG2Cuxt1eRC VuGw8gyMuwy/iKj3ugD5JpruzOC6bwS6ZlZBW4rOMbLRPbWuoHj+4I/MUGi02pS1gF72ekL8MF2T UwR7et44ylBMGY8i4+9wekq/Kywr5dafbhmU+xkoMaucrx3OH9TNm2DBiCmDpDDPCpUhmj9m1pTV FYbI4c/sGWq28gbm8c59JnO4/sCJubNJsSuOgIW3/tUEN2/abe0ok7mbdBj7eacwbOwhlkMG7J X-QQ-XMRINFO: Nq+8W0+stu50PRdwbJxPCL0= X-OQ-MSGID: Subject: Re: [PATCH] Fix `grep' command to handle filenames starting with '-'. From: lux To: emacs-orgmode@gnu.org Date: Fri, 08 Nov 2024 11:56:21 +0800 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.1-1 MIME-Version: 1.0 Received-SPF: none client-ip=43.163.128.48; envelope-from=lx@shellcodes.org; helo=xmbghk7.mail.qq.com X-Spam_score_int: 48 X-Spam_score: 4.8 X-Spam_bar: ++++ X-Spam_report: (4.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_PBL=3.335, RCVD_IN_SBL_CSS=3.335, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 1.86 X-Spam-Score: 1.86 X-Migadu-Queue-Id: 0A53881FF7 X-TUID: RPWLCqbaT+cj On Fri, 2024-11-08 at 10:46 +0700, Max Nikulin wrote: >=20 > Xi Lu, is it a kind of friendly trolling that you submitted a patch with= =20 > a workaround for leading dash file name pitfall, but you decided to keep= =20 > ability to pass arbitrary shell code as selection? Just quotes is a poor= =20 > way to protect against shell specials and it can be easily bypassed. >=20 No, I was just aiming for a quick and simple solution to address the issue.