public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* hostname command
@ 2010-10-09  6:15 Hans Jørgen Aagaard Jensen
  2010-10-11 14:28 ` Eric Blake
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Jørgen Aagaard Jensen @ 2010-10-09  6:15 UTC (permalink / raw)
  To: cygwin

Hi

"hostname" in cygwin does not accept the normal unix/linux options as "-f", "-d", etc.
"hostname -f" gives an error message.

We are using "hostname -f" when compiling our quantum chemistry package Dirac, it is used to specify the full domain name in the output of calculations. This is sometimes useful for tracking "where is this dirac.x compiled", if problems should arise which could be related to compiler problems or libraries or ....

I would therefore appreciate if someone would implement at least the "-f" option of the hostname command, so we don't get error messages instead of the hostname as output (and dirac.chem.sdu.dk tells more about where than just dirac).

- Hans Jørgen Aa. Jensen.

PS. the builtin hostname in bash just ignore options. I am referring to /bin/hostname.exe.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-11 16:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-09  6:15 hostname command Hans Jørgen Aagaard Jensen
2010-10-11 14:28 ` Eric Blake
2010-10-11 16:01   ` Charles Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).