Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 2003 22:30:50 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Rob Lahaye <lahaye@snu.ac.kr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: tcsh script: quote and spaces problems
Message-ID:  <20030801033050.GE13080@dan.emsphone.com>
In-Reply-To: <3F29D9CD.90401@snu.ac.kr>
References:  <3F29C589.4030009@users.sourceforge.net> <3F29CD39.9080505@mac.com> <20030801022705.GC13080@dan.emsphone.com> <3F29D9CD.90401@snu.ac.kr>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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