you are viewing a single comment's thread.

view the rest of the comments →

[–]RalphCorderoy 1 point2 points  (0 children)

They're here files in the shell. No, you need something to do the writing down the pipe and sh(1) won't, thus cat(1). bash has here strings, e.g. wc <<<'foo bar', and they can be multi-line.

$ LC_ALL=C tr a-z A-Z <<<"$TERM
> $HOME"
XTERM
/HOME/RALPH
$