From: "Philip K." <philipk@posteo.net>
To: emacs-devel@gnu.org
Subject: [ELPA] New package: shell-command+
Date: Fri, 25 Sep 2020 14:56:18 +0200 [thread overview]
Message-ID: <8736362ex9.fsf@posteo.net> (raw)
[ I tried to send this message yesterday already, but for some reason it
never appeared in the archive. I'm assuming the fault was on my side,
so I'm resending it again. ]
Hi,
I wanted to submit this package I wrote a while ago. It provides an
interactive command named "shell-command+", that is used in the same way
as one uses shell-command.
The difference is that shell-command+ pre-processes the user-input,
before passing it to shell-command or related functions. I think what it
does is best explained by the examples given in the commentary section:
> wc -l
Count all lines in a buffer, and display the result in the
minibuffer.
.. < ls -l
Replace the current region (or buffer in no region is selected)
with a directory listing of the parent directory.
| tr -d a-z
Delete all instances of the charachters a, b, c, ..., z, in the
selected region (or buffer, if no region was selected).
... make
Run Eshell's make (i.e. `compile') in the parent's parent
directory.
I have previously submitted the package under the name "bang" to
MELPA[0], but have since decided that the name isn't expressive and
could therefore confuse users. This version also includes a few
improvements that I have not yet added to bang.
It should also be noted, that the file is currently licensed under the
CC0 1.0 Universal (CC0 1.0) Public Domain Dedication[1] license, which
I'm not sure if it is OK.
[0] https://melpa.org/#/bang
[1] https://creativecommons.org/publicdomain/zero/1.0/
--
Philip K.
next reply other threads:[~2020-09-25 12:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-25 12:56 Philip K. [this message]
2020-09-25 13:43 ` [ELPA] New package: shell-command+ Stefan Monnier
2020-09-25 13:52 ` Philip K.
2020-09-25 23:38 ` Ergus
2020-09-26 9:38 ` Philip K.
2020-09-26 13:23 ` Ergus
2020-09-26 17:21 ` Stefan Monnier
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8736362ex9.fsf@posteo.net \
--to=philipk@posteo.net \
--cc=emacs-devel@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.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).