From: Andrey Borzenkov <arvidjaar@newmail.ru>
To: zsh-users@sunsite.dk
Cc: Matthias Berndt <Berndt.Matthias@gmx.de>
Subject: Re: Variable Expansion
Date: Sun, 3 Apr 2005 15:42:35 +0400 [thread overview]
Message-ID: <200504031542.49206.arvidjaar@newmail.ru> (raw)
In-Reply-To: <20050403132351.0204dbfd@localhost>
-----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-----
prev parent reply other threads:[~2005-04-03 11:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-03 11:23 Matthias Berndt
2005-04-03 11:42 ` Andrey Borzenkov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200504031542.49206.arvidjaar@newmail.ru \
--to=arvidjaar@newmail.ru \
--cc=Berndt.Matthias@gmx.de \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).