#Postscript printer
17-Feb-92 22:31:38
Sb: #20429-#Postscript printer
Fm: Bob Chapman 76327,3116
To: John Draper 76703,4322
> Several of my scripts are filters, designed to be used with pipes …
I think you posted the source to your 'uniq' a while back. I have not
only used it in pipes, but have used it again and again as an example (to
friends that haven't grasped the power of ARexx) of an elegant solution to
a non-trivial problem.
However, I'm becoming disturbed by an (increasing?) number of programs
that do not support piping and/or redirection of their console output. For
example, from the libraries here on CIS, LZ 1.92 Archive/Extract Utility
and AmigaZoo 2.1 Beta 3 91/08/01 both fall into that category. I have
often found in useful to pipe and/or redirect an archive 'contents'
listing. Considering LZ 1.92:
>lz v foobar.lha | uniq ; for example
just didn't work under DOS 1.3/WShell 1.2 (only the header got piped if I
remember) but guarantees a crash and burn under DOS 2.0/WShell 2.0. With
Zoo 2.1:
>zoo l foobar.zoo > foo.bar ; for example
you often only get a partial list (apparently the final buffer doesn't
get flushed).
Of course, in all fairness, these problems may well be corrected in more
mature versions of both programs which (I presume) are available from other
sources.
REC
——