That avoids the need for the redirection on every line and the final
copy, thanks.

But the echos still bother me. I played arround with canned recipes,
but without success. So it seems that this is the best one can get.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
Stephan Beal
Sent: Dienstag, 22. November 2011 14:19
To: [email protected]
Subject: Re: here document in recipe

On Tue, Nov 22, 2011 at 2:18 PM, Stephan Beal <[email protected]>wrote:
>
> { \
>   echo "command 1;"; \
>   echo  "commnd 2;"; \
> } > tmpfile
>

or simply pipe the above to ssh instead of >tmpfile.

PS: i don't know if block-level redirection is bash-specific or not.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to