“Linux Single Line EOF” Ответ

Linux Single Line EOF

$ cat - << someword
> Here you
> can
> write text with as many
> newlines as you want.
> someword
Here you
can
write text with as many
newlines as you want.
DreamCoder

Linux Single Line EOF


If it has to be in one line without newlines use that:

echo -e "lalal:lalal\nopp:ttt\nggg:zzz" | sendmail -S "lalalal" -f "dailaakak" -au "kakakak"
echo -n interpretes escapes characters such as \n as a newline.
DreamCoder

Ответы похожие на “Linux Single Line EOF”

Вопросы похожие на “Linux Single Line EOF”

Больше похожих ответов на “Linux Single Line EOF” по Shell/Bash

Смотреть популярные ответы по языку

Смотреть другие языки программирования