Mailinglist Archive: opensuse (686 mails)

< Previous Next >
Re: [opensuse] shell script help
* Felix Miata <mrmazda@xxxxxxxxxxxxx> [07-08-13 15:08]:
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.

from google :^) ::

http://unix.stackexchange.com/questions/16815/what-does-display-0-0-actually-mean

--
(paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711
http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org openSUSE Community Member
Registered Linux User #207535 @ http://linuxcounter.net
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups