Re: Redirect program output to Blat message body

"'ykai' [email protected] [blat]" <[email protected]>
Newsgroups gmane.mail.blat
Message-ID <[email protected]>
"Chip [email protected] [blat]" <[email protected]>
wrote on 18 Feb. 2016:
>> I am able to redirect output of a program to a Blat attachment. Is there a way to redirect or pipe
>into the message body?
>
>I believe it could work, except that you will need to ensure the piped message is terminated with a
>Ctrl-Z, otherwise Blat will wait seemingly forever until a Ctrl-Z is detected.
>
>If you can work with this restriction, then use a hyphen as the first command line option, and do
>not use the -body option.

Not sure what you are talking about. This works fine for me:

,----------------------------------------------
C:\>echo This is my body! | blat -of test.of
Blat v3.2.1 (build : May 28 2014 00:35:28)
32-bit Windows, Full, Unicode

Sending stdin.txt to <munged>
Subject: test piping
Login name is <munged>
`----------------------------------------------

The same goes for:
,----------------------------------------------
C:\>blat -of test.of < test.of
`----------------------------------------------

... or when you start a new process from another program and redirect STDIN to that process.

On the other hand: What does the OP mean by "redirect output of a program to a Blat attachment"?
I would like to learn how that is achieved!
-- 
Kai
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.