GNU-devel ELPA - shell-command+

shell-command+

Description
An extended shell-command
Latest
shell-command+-2.3.2.0.20220101.144755.tar, 2022-Jan-01, 30.0 KiB
Maintainer
Philip Kaludercic <philipk@posteo.net>
Home page
https://git.sr.ht/~pkal/shell-command-plus
Browse ELPA's repository
CGit or Gitweb
Badge

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:


	> 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).


	man fprintf

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'.

See `shell-command+'s docstring for more details on how it's input
is interpreted..

Old versions

shell-command+-2.3.2.0.20211226.121537.tar.lz2021-Dec-265.95 KiB
shell-command+-2.3.2.0.20211101.235928.tar.lz2021-Nov-025.96 KiB
shell-command+-2.3.2.0.20211020.185835.tar.lz2021-Oct-205.95 KiB
shell-command+-2.3.1.0.20211015.173902.tar.lz2021-Oct-155.92 KiB
shell-command+-2.2.1.0.20211006.102226.tar.lz2021-Oct-065.67 KiB
shell-command+-2.2.1.0.20210825.152553.tar.lz2021-Aug-255.47 KiB
shell-command+-2.2.0.0.20210804.144335.tar.lz2021-Aug-045.46 KiB
shell-command+-2.2.0.0.20210523.172747.tar.lz2021-May-235.15 KiB
shell-command+-2.1.0.0.20210418.211153.tar.lz2021-Apr-193.44 KiB
shell-command+-2.0.0.0.20200927.160257.tar.lz2020-Dec-143.32 KiB

News

Version 2.3.0 (15Oct21)

- Add rgrep to shell-command+-substitute-alist
- Fix shell-command+-substitute-alist customization type
- Skip environmental variables when parsing a command
- Check if command is being piped, in which case command
  substitution is avoided.
- Fix persistent sudo bug, where any command after a sudo
  substitute would try to run as root
- Improve command tokenization performance slightly.