|
From: | address@hidden |
Subject: | Re: [Help-bash] Is there a way to pipe heredoc with another command? |
Date: | Fri, 25 Dec 2015 18:51:12 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
cat << EOF | xargs -0 -n 1 echo "VALUE:" a b c EOF On 12/25/2015 4:49 PM, Peng Yu wrote:
For example, I want to pipe the following cat (with heredoc) with another command. I am wondering whether there is a bahs syntax to pipe a command with heredoc and another command. Thanks. cat << EOF a b c EOF | xargs -0 -n 1 echo "VALUE:"
[Prev in Thread] | Current Thread | [Next in Thread] |