[openssh-commits] [openssh] 02/02: upstream: hostname is not specified by POSIX but uname -n is, so use

Thorsten Glaser t.glaser at tarent.de
Wed Feb 10 08:08:32 AEDT 2021

On Tue, 9 Feb 2021, Darren Tucker wrote:

>            %L    The local hostname.
>            %l    The local hostname, including the domain name.

Given the trouble in obtaining the local FQDN, it might make sense
to redocument them as:

	%L	The local hostname, with the domain name stripped off.
	%l	The local hostname.

This wouldn’t change anything on correctly set-up systems, and
on all others, %l would just be the same as %L and it wouldn’t
mismatch the documentation. From the context (these lines being
adjacent) it’d be clear as well.

tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg


Mit unserem Consulting bieten wir Unternehmen maßgeschneiderte Angebote in
Form von Beratung, Trainings sowie Workshops in den Bereichen
Softwaretechnologie, IT Strategie und Architektur, Innovation und Umsetzung
sowie Agile Organisation.

Besuchen Sie uns auf https://www.tarent.de/consulting .
Wir freuen uns auf Ihren Kontakt.


More information about the openssh-unix-dev mailing list