delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/09/02:16:11

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_50,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: =?iso-8859-1?Q?Hans_J=F8rgen_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
Message-ID: <7E93C5822639AC4B917B413898A805AAA431EA7FAC@ADM-EXMBX0CD.adm.c.sdu.dk>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 Dir=
ac, it is used to specify the full domain name in the output of calculation=
s. This is sometimes useful for tracking "where is this dirac.x compiled", =
if problems should arise which could be related to compiler problems or lib=
raries or ....

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

- Hans J=F8rgen Aa. Jensen.

PS. the builtin hostname in bash just ignore options. I am referring to /bi=
n/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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019