[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/shell-command+ f0a8a95 30/36: Don't interpret local bin
From: |
Stefan Monnier |
Subject: |
[elpa] externals/shell-command+ f0a8a95 30/36: Don't interpret local binary execution as a path |
Date: |
Fri, 25 Sep 2020 11:01:27 -0400 (EDT) |
branch: externals/shell-command+
commit f0a8a955b87ce7840fd1871875c452d904640c10
Author: Philip K <philipk@posteo.net>
Commit: Philip K <philipk@posteo.net>
Don't interpret local binary execution as a path
---
bang.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/bang.el b/bang.el
index 931d7f4..8c25476 100644
--- a/bang.el
+++ b/bang.el
@@ -34,8 +34,10 @@
(defconst bang--command-regexp
(rx bos (* space)
- (? (group (or "." "/" "~") (* (not space))) (+ space))
- (or (group "<") (group ">") (group "|") "!" "")
+ (? (group (or (: ?. (not (any "/"))) ?/ ?~)
+ (* (not space)))
+ (+ space))
+ (or (group ?<) (group ?>) (group ?|) ?! "")
(* space)
(group (+ not-newline))
eos))
- [elpa] externals/shell-command+ 3fcab36 20/36: only execute real command, not bang modifiers, (continued)
- [elpa] externals/shell-command+ 3fcab36 20/36: only execute real command, not bang modifiers, Stefan Monnier, 2020/09/25
- [elpa] externals/shell-command+ c395408 05/36: Re-added % substitution, Stefan Monnier, 2020/09/25
- [elpa] externals/shell-command+ 77989cf 26/36: renamed "Bang command" to "Shell command", Stefan Monnier, 2020/09/25
- [elpa] externals/shell-command+ d60c01f 22/36: required rx while compiling, Stefan Monnier, 2020/09/25
- [elpa] externals/shell-command+ 1fb0162 27/36: bumped version, Stefan Monnier, 2020/09/25
- [elpa] externals/shell-command+ 0e0c725 35/36: simplify if-expressions where applicable, Stefan Monnier, 2020/09/25
- [elpa] externals/shell-command+ e023383 33/36: bumped version, Stefan Monnier, 2020/09/25
- [elpa] externals/shell-command+ f9e92f4 31/36: added two spaces after each period, Stefan Monnier, 2020/09/25
- [elpa] externals/shell-command+ 51d6934 28/36: changed tag-line, Stefan Monnier, 2020/09/25
- [elpa] externals/shell-command+ 9350393 19/36: fixed critical bug when no path was specified, Stefan Monnier, 2020/09/25
- [elpa] externals/shell-command+ f0a8a95 30/36: Don't interpret local binary execution as a path,
Stefan Monnier <=