Command line options for pipecut

pipecut filename
pipecut -l toolset
history | pipecut

pipecut -t toolset

pipecut currently supports four types of execution

  1. Begin a new toolset using the specified file as input
  2. Load a previously saved toolset from your toolbox or a file
  3. Consume shell history to build a toolset from a previously executed shell pipeline of commands
  4. Execute pipecut as a filter, applying the named toolset transformation

In the first three types of execution, the user will enter a vi-like interface for growing and browsing the effects of a command pipeline (toolset in pipecut terminology). The toolset will consist of either 'cat filename' in the first type, a complete toolset from a previous pipecut session in the second type, or a toolset created from the command pipeline most recently executed in the shell. (sh, csh, tcsh, and bash history formats are supported)

In the fourth type of execution, pipecut will not open the vi-like interface, but will simply process STDIN->STDOUT according to the transformations saved in the toolset from a prior session. This type allows the use of pipecut in scripts if you wish to apply existing toolsets. Note that in this mode, the leading 'cat filename' in the saved toolset will be ignored, and STDIN will provide the input to the second blade.