PTHPasteboard icon

Shell Script Filter

The Shell Script filter runs the input text through the standard input of a shell script and outputs the standard output of the script.

setting description
Show Errors Show the standard error from the script (if any) in a window.
Update (only available in Custom Filter window) Saves and executes the script text.
input output options
ABC
DEF
GHI
DEF
grep DEF
Any 2 #!/usr/bin/env ruby
p 1 + 1

See also