Hi,

During scripting I use the command 'hostname -i' to return the ip address of the hostname. All is good, the ip value is what I expect, _except_ for a trailing space. I see no need for a trailing space as it complicates the script considerably and is inconsistently with other similar commands.

Example:
----
[terje@jenna ~]$ hostname -i | xxd
00000000: 3139 322e 3136 382e 322e 3133 3920 0a 192.168.2.139 .
----
(Note the '20' hex (space) prior to newline).

Thanks!
/Terje

Reply via email to