public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Hans Jørgen Aagaard Jensen" <hjj@ifk.sdu.dk>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: hostname command
Date: Sat, 09 Oct 2010 06:15:00 -0000	[thread overview]
Message-ID: <7E93C5822639AC4B917B413898A805AAA431EA7FAC@ADM-EXMBX0CD.adm.c.sdu.dk> (raw)

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

             reply	other threads:[~2010-10-09  6:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-09  6:15 Hans Jørgen Aagaard Jensen [this message]
2010-10-11 14:28 ` Eric Blake
2010-10-11 16:01   ` Charles Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7E93C5822639AC4B917B413898A805AAA431EA7FAC@ADM-EXMBX0CD.adm.c.sdu.dk \
    --to=hjj@ifk.sdu.dk \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).