[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: here document in recipe

From: Warlich, Christof
Subject: RE: here document in recipe
Date: Tue, 22 Nov 2011 16:01:27 +0100

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: address@hidden [mailto:address@hidden On Behalf Of Stephan Beal
Sent: Dienstag, 22. November 2011 14:19
To: address@hidden
Subject: Re: here document in recipe

On Tue, Nov 22, 2011 at 2:18 PM, Stephan Beal <address@hidden>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
Help-make mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]