This is a PIPE: frontend for AmigaShell, taking advantage of an
undocumented feature in it since OS version 2.04.
Pipe processes a command line of the form "cmd1 | cmd2 [| cmd3 [...]]" and
creates a pipeline with the output of one command as the input of the
next. A simple usage example is "List SYS: | More".
This is the second released version of Pipe. Changes since version 1.4:
- input/output redirection works, ie.
ilbmtoppm <foo.iff | pnmscale -xysize 320 200 | ppmtogif >foo.gif
will work.
- silly mistake with not recognising IN: or OUT: in the end of command
line fixed.
Feature list:
- _pchar for normal piping
- _mchar for output catenation
- IN: and OUT: pseudofiles to fix those broken programs that can't read
stdin.
- works with AmigaDOS scripts
- works with badly formed command lines
- small, pure, residentable
- tested on OS 3.1
Install by copying to a directory in Shell search path and adding commands
Set _pchar "|"
Set _mchar "||"
to S:Shell-Startup.
Pipe is GIFTWARE.
|