Hostname: Difference between revisions
Content added Content deleted
(→{{header|AWK}}: warning) |
|||
Line 47: | Line 47: | ||
=={{header|AWK}}== |
=={{header|AWK}}== |
||
{{noticebox||WARNING: the following purported solution makes an assumption about environment variables that may not be applicable in all circumstances.}} |
|||
<lang awk>$ awk 'BEGIN{print ENVIRON["HOST"]}' |
<lang awk>$ awk 'BEGIN{print ENVIRON["HOST"]}' |
||
E51A08ZD</lang> |
E51A08ZD</lang> |