[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-bash] Is there a way to pipe heredoc with another command?
From: |
Peng Yu |
Subject: |
[Help-bash] Is there a way to pipe heredoc with another command? |
Date: |
Fri, 25 Dec 2015 09:49:38 -0600 |
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:"
--
Regards,
Peng
- [Help-bash] Is there a way to pipe heredoc with another command?,
Peng Yu <=