This is the mail archive of the
cygwin
mailing list for the Cygwin project.
hostname command
- From: Hans Jørgen Aagaard Jensen <hjj at ifk dot sdu dot dk>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Sat, 9 Oct 2010 08:15:45 +0200
- Subject: hostname command
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