Re: hostname command

2010-10-11 Thread Charles Wilson
On 10/11/2010 10:27 AM, Eric Blake wrote: >> PS. the builtin hostname in bash just ignore options. I am referring >> to /bin/hostname.exe. > > Bash does not have a builtin hostname. When you type hostname in bash, > you ARE using /bin/hostname, which is currently from coreutils. Also, you need t

Re: hostname command

2010-10-11 Thread Eric Blake
herefore appreciate if someone would implement at least the "-f" option of the hostname command, If you want it in coreutils, then propose it upstream to the bug-coreutils AT gnu DOT org list. Otherwise, if you are proposing that the cygwin distro use a different hostname(1) implemen

hostname command

2010-10-08 Thread Hans Jørgen Aagaard Jensen
omain 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" opt

Re: Carriage-return problem with ssh, "hostname" command

2007-07-03 Thread Brian Dessent
David Menestrina wrote: > -- > $ ssh localhost 'hostname | cat -v' > myhost^M > -- You're probably running a different hostname command here due to a different PATH setting. See <http://cygwin.com/ml/cygwin/2007-06/msg00432

Carriage-return problem with ssh, "hostname" command

2007-07-03 Thread David Menestrina
Hi, I have a strange problem with carriage-return (CR, \r, ^M) handling on Cygwin (DLL version: 1.5.24). The problem is only exposed when running the "hostname" command via ssh. Here is a sample session that demonstrates the bug: -- $ hostname | cat