emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: lux <lx@shellcodes.org>
To: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Fix `grep' command to handle filenames starting with '-'.
Date: Fri, 08 Nov 2024 11:56:21 +0800	[thread overview]
Message-ID: <tencent_CD0D5FCDD51D9C3C51787F702CE7E54C4306@qq.com> (raw)
In-Reply-To: <e2ee0750-161b-4706-9dbf-1c278aeccbb9@gmail.com>

On Fri, 2024-11-08 at 10:46 +0700, Max Nikulin wrote:
> 
> Xi Lu, is it a kind of friendly trolling that you submitted a patch with 
> a workaround for leading dash file name pitfall, but you decided to keep 
> ability to pass arbitrary shell code as selection? Just quotes is a poor 
> way to protect against shell specials and it can be easily bypassed.
> 

No, I was just aiming for a quick and simple solution to address the issue.




  reply	other threads:[~2024-11-08  3:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-07  9:24 [PATCH] Fix `grep' command to handle filenames starting with '-' Xi Lu
2024-11-07 10:40 ` Rens Oliemans
2024-11-07 10:44   ` lux
2024-11-08  3:46 ` Max Nikulin
2024-11-08  3:56   ` lux [this message]
2024-11-09 14:35 ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_CD0D5FCDD51D9C3C51787F702CE7E54C4306@qq.com \
    --to=lx@shellcodes.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).