Mailinglist Archive: opensuse (686 mails)

< Previous Next >
Re: [opensuse] shell script help
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.






--
Don't join the book burners. Don't think you're going to conceal faults by concealing evidence that they ever existed. Don't be afraid to go in your library and read every book...
Dwight D. Eisenhower
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups