Mailinglist Archive: opensuse (686 mails)

< Previous Next >
Re: [opensuse] shell script help
On 2013-07-08 13:30 (GMT-0400) Anton Aylward composed:

Felix Miata said the following on 07/08/2013 10:29 AM:

The real question is what does hostname have to do with anything (aka how
does :0 get to be a second field):

# echo $DISPLAY
:0

There is an implicit <delimiter> in the beginning and the end of line
(just in case you are using awk and the record delimiter is over-ridden
and set to be a blank line -- aka 'stanza mode')

The second field is not ":0", it is "0"
The ":" is a delimiter.

While all this may well enough explain why -f2, I don't see any response to my hostname question precipitated by your prior response.
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata *** http://fm.no-ip.com/
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >