Some commands understand "-" as meaning STDIN in place of input file or
STDOUT instead of output file. Other than making temp files, is there
some easy way to make a command that DOESN'T have this convention read
from STDIN and/or write to STDOUT.
In my particular case, I'd like to convert Postscript files to PDF files.
I can do"
ps2pdf -r300 -g3300x5100 infile.ps outfile.pdf
But I'd really like to have a FILTER that might do something like:
program_making_ps | postscript2pdf [opts] | uuencode widget.pdf | mail whoever
Obviously, I could make "postscript2pdf" be a script that wrote STDIN to a
temp file, ran ps2pdf to create another temp file, output that to STDOUT,
and deleted the temp file, but I thought I remembered there was some less
ugly way to accomplish that with a wrapper that didn't involve creating
temporary files.
pete peterson
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.