|
From: | Eliphas Levy Theodoro |
Subject: | Re: [shell-script] Enviar email com cliente Telnet! |
Date: | Mon, 04 Jul 2005 15:28:03 -0300 |
User-agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
Eliphas Levy Theodoro escreveu:
telnet 200.214.52.196 25 <<MAILNão é a identação? O "." deve ser o único caractere da linha.
Auto-respondendo-me a mim mesmo: do man bash:"If the redirection operator is <<-, then all leading tab characters are stripped from input lines and the line containing delimiter. This allows here-documents within shell scripts to be indented in a natural fashion."
/me anota pra sempre usar <<- em here-documents -- Eliphas
[Prev in Thread] | Current Thread | [Next in Thread] |