From owner-freebsd-stable Sun Jul 5 15:15:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA19456 for freebsd-stable-outgoing; Sun, 5 Jul 1998 15:15:03 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA19385 for ; Sun, 5 Jul 1998 15:14:47 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from hrotti.ifi.uio.no (2602@hrotti.ifi.uio.no [129.240.64.15]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id AAA08574; Mon, 6 Jul 1998 00:14:39 +0200 (MET DST) Received: (from dag-erli@localhost) by hrotti.ifi.uio.no ; Mon, 6 Jul 1998 00:14:38 +0200 (MET DST) Mime-Version: 1.0 To: Stefan Eggers Cc: freebsd-stable@FreeBSD.ORG, heller@cdnow.com Subject: Re: July 2nd SNAP question. References: <199807051625.SAA26093@semyam.dinoco.de> Organization: University of Oslo, Department of Informatics X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-other-addresses: 'finger dag-erli@ifi.uio.no' for a list X-disclaimer-1: The views expressed in this article are mine alone, and do X-disclaimer-2: not necessarily coincide with those of any organisation or X-disclaimer-3: company with which am or have been affiliated. X-Stop-Spam: http://www.cauce.org/ From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 06 Jul 1998 00:14:37 +0200 In-Reply-To: Stefan Eggers's message of "Sun, 05 Jul 1998 18:25:18 +0200" Message-ID: Lines: 14 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Stefan Eggers 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