From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3979 invoked from network); 3 Apr 2005 11:43:10 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Apr 2005 11:43:10 -0000 Received: (qmail 95193 invoked from network); 3 Apr 2005 11:43:03 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Apr 2005 11:43:02 -0000 Received: (qmail 19821 invoked by alias); 3 Apr 2005 11:42:55 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8656 Received: (qmail 19806 invoked from network); 3 Apr 2005 11:42:54 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 3 Apr 2005 11:42:54 -0000 Received: (qmail 94074 invoked from network); 3 Apr 2005 11:42:54 -0000 Received: from morda.newmail.ru (HELO flock1.newmail.ru) (212.48.140.150) by a.mx.sunsite.dk with SMTP; 3 Apr 2005 11:42:51 -0000 Received: (qmail 18722 invoked from network); 3 Apr 2005 11:24:22 -0000 Received: from unknown (HELO ?10.0.0.1?) (arvidjaar@newmail.ru@83.237.106.140) by smtpd.newmail.ru with SMTP; 3 Apr 2005 11:24:22 -0000 From: Andrey Borzenkov To: zsh-users@sunsite.dk Subject: Re: Variable Expansion Date: Sun, 3 Apr 2005 15:42:35 +0400 User-Agent: KMail/1.7.2 Cc: Matthias Berndt References: <20050403132351.0204dbfd@localhost> In-Reply-To: <20050403132351.0204dbfd@localhost> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200504031542.49206.arvidjaar@newmail.ru> X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00,UPPERCASE_25_50 autolearn=no version=3.0.2 X-Spam-Hits: -2.6 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 03 April 2005 15:23, Matthias Berndt wrote: > Greetings, > > I think my problem is quite simple, but I'm unable to find a solution. > It is based on a bash script and I use the following lines: > > CLOCKPARAMS="${CLOCKPARAMS} --utc" > hwclock --hctosys ${CLOCKPARAMS} > > The result is: > > CLOCKPARAMS=' --utc' > hwclock --hctosys ' --utc' # --> hwclock error > > How do I prevent zsh from inserting the quotes in the hwclock-command? I > played with some expansionmodifiers - such a 'Q' - but I can't get it to > work. > setopt shwordsplit or hwclock --hctosys ${=CLOCKPARAMS} or emulate sh - -andrey -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCT9a5R6LMutpd94wRAlhGAKCICfPrJX0Fa/v11JBmtCsPjwnMkgCgrgo2 OTVb55Y2cQBe/+Netftqn/8= =cuAr -----END PGP SIGNATURE-----