From owner-freebsd-questions@FreeBSD.ORG Thu Jul 31 20:30:51 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9AAD37B401 for ; Thu, 31 Jul 2003 20:30:51 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E298743F93 for ; Thu, 31 Jul 2003 20:30:50 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h713UocG065932; Thu, 31 Jul 2003 22:30:50 -0500 (CDT) (envelope-from dan) Date: Thu, 31 Jul 2003 22:30:50 -0500 From: Dan Nelson To: Rob Lahaye Message-ID: <20030801033050.GE13080@dan.emsphone.com> References: <3F29C589.4030009@users.sourceforge.net> <3F29CD39.9080505@mac.com> <20030801022705.GC13080@dan.emsphone.com> <3F29D9CD.90401@snu.ac.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F29D9CD.90401@snu.ac.kr> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: tcsh script: quote and spaces problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2003 03:30:52 -0000 In the last episode (Aug 01), Rob Lahaye said: > Another odd behaviour occurs when I say: > > set foo="a b c" > > which tcsh reduces to "a b c", despite the quotes. This works for me (-CURRENT). $ tcsh dan: {3001} set foo="a b c" dan: {3002} set | grep foo _ set foo="a b c" foo a b c dan: {3003} echo "$foo" a b c dan: {3004} -- Dan Nelson dnelson@allantgroup.com