From owner-freebsd-questions Wed Oct 18 13:56:40 2000 Delivered-To: freebsd-questions@freebsd.org Received: from heorot.1nova.com (sub24-23.member.dsl-only.net [63.105.24.23]) by hub.freebsd.org (Postfix) with ESMTP id 878CE37B479 for ; Wed, 18 Oct 2000 13:56:37 -0700 (PDT) Received: by heorot.1nova.com (Postfix, from userid 1000) id 32FD93293; Tue, 17 Oct 2000 13:20:03 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by heorot.1nova.com (Postfix) with ESMTP id 17EB53292; Tue, 17 Oct 2000 13:20:03 +0000 (GMT) Date: Tue, 17 Oct 2000 13:20:03 +0000 (GMT) From: Rick Hamell To: Ken Bolingbroke Cc: freebsd-questions@FreeBSD.ORG Subject: Re: CSH Shell In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks... ! :) And the moral of todays story... Certain Windows 2000 fonts interpret ' and ` as ' :( Rick ******************************************************************* Rick's FreeBSD Web page http://heorot.1nova.com/freebsd Ace Logan's Hardware Guide http://www.shatteredcrystal.net/hardware ***FreeBSD - The Power to Serve! http://www.freebsd.org On Wed, 18 Oct 2000, Ken Bolingbroke wrote: > > You want to use backticks instead of single quotes, that is, where you > currently have: > > set prompt="'hostname' %" > > Change the single quotes to backticks: > > set prompt="`hostname` %" > > The backticks tell the shell to execute the command inside them, and > use the output instead. Single quotes in that context have no special > meaning, which is why you see the literal 'hostname' as your prompt. > > Ken > > On Tue, 17 Oct 2000, Rick Hamell wrote: > > > Taking my first steps into scripting, my first task is to figure > > out how to customize csh. Problem is, I can't seem to make something like > > set prompt="'hostname' %" work... The command hostname dosen't seem to > > work at all. I figure I've got the syntax wrong, but where... ? :) What I > > get is 'hostname' btw. Thanks much! > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message