“Linux Single Line EOF” Código de respuesta

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

Respuestas similares a “Linux Single Line EOF”

Preguntas similares a “Linux Single Line EOF”

Más respuestas relacionadas con “Linux Single Line EOF” en Shell/Bash

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código