GNU ELPA - shell-command+


An extended shell-command
shell-command+-2.4.1.tar, 2022-Sep-01, 70.0 KiB
Philip Kaludercic <~pkal/>
Browse ELPA's repository
CGit or Gitweb

To install this package, run in Emacs:

M-x package-install RET shell-command+ RET

Full description

`shell-command+' is a `shell-command' substitute, that extends the
regular Emacs command with several features.  After installed,
configure the package as follows:

	(global-set-key (kbd "M-!") #'shell-command+)

A few examples of what `shell-command+' can do:

* Count all lines in a buffer, and display the result in the

  > wc -l

* Replace the current region (or buffer in no region is selected)
  with a directory listing of the parent directory.

  .. < ls -l

* Delete all instances of the charachters a, b, c, ..., z, in the
  selected region (or buffer, if no region was selected).

  | tr -d a-z

* Open a man-page using Emacs default man page viewer.
  `shell-command+' can be extended to use custom Elisp handlers via
  as specified in `shell-command+-substitute-alist'.

  man fprintf

See `shell-command+'s docstring for more details on how it's input
is interpreted.  See `shell-command+-features' if you want to
disable or add new features.

`shell-command+' was originally based on the command `bang' by Leah
Neukirchen (

Old versions

shell-command+-2.3.2.tar.lz2021-Oct-205.93 KiB
shell-command+-2.3.1.tar.lz2021-Oct-155.89 KiB
shell-command+-2.2.1.tar.lz2021-Aug-255.46 KiB
shell-command+-2.2.0.tar.lz2021-May-235.13 KiB
shell-command+-2.1.0.tar.lz2021-Apr-193.43 KiB
shell-command+-2.0.0.tar.lz2020-Sep-273.31 KiB
shell-command+-1.0.3.tar.lz2020-Sep-253.00 KiB


Version 2.4.0 (???)

- Allow adding or removing features using
- Add `shell-command+-default-region' user option.
- Remove `shell-command+-use-eshell'.
- Deprecate `shell-command+-enable-file-substitution'.
- Minor bug fixes and stability improvements.

Thanks to Visuwesh for many productive discussions on the mailing