Skip site navigation (1)Skip section navigation (2)
Date:      06 Jul 1998 00:14:37 +0200
From:      dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= )
To:        Stefan Eggers <seggers@semyam.dinoco.de>
Cc:        freebsd-stable@FreeBSD.ORG, heller@cdnow.com
Subject:   Re: July 2nd SNAP question.
Message-ID:  <xzpsokgq71u.fsf@hrotti.ifi.uio.no>
In-Reply-To: Stefan Eggers's message of "Sun, 05 Jul 1998 18:25:18 %2B0200"
References:  <199807051625.SAA26093@semyam.dinoco.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Stefan Eggers <seggers@semyam.dinoco.de> writes:
> >             echo -n ' hostname'
>                       ^         ^
> You have apostrophe/single quote characters where you need the backtick
> characters.  So echo just outputs the string " hostname" instead of the
> result of executing hostname.

No, it's supposed to be like that. The intent is to signal that the
hostname has been set, not *what* hostname has been set. If you look
closely at /etc/rc*, you'll se a lot of these "echo -n 'xxx'".

DES
-- 
One two, one two, one two.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpsokgq71u.fsf>