Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
About quoting
- X-seq: zsh-workers 16387
- From: Raúl Núñez de Arenas Coronado <raul@xxxxxxxxxxxx>
- To: Zsh <zsh-workers@xxxxxxxxxx>
- Subject: About quoting
- Date: Wed, 2 Jan 2002 21:38:14 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Reply-to: Raúl Núñez de Arenas Coronado <raul@xxxxxxxxxxxx>
- Sender: Raúl Núñez de Arenas Coronado <raul@xxxxxxxxxxxx>
Hello all zshworkers :))
First of all, happy new year :)
I have a little problem with quoting. I'm not understanding
something about it. With Bash I can do the following:
$ export PAGER="/my/pager --flag --otherflag -"
$ ls | $PAGER
And it works. But under zsh, when doing the redirection above,
the shell complains 'no such file or directory: /my/pager --flag...'.
The matter here, I think, is that spaces remains quoted when
doing the expansion in the redirection. Anyway, I need to quote the
spaces in order to define de variable, or zsh will complain then.
How can I do this with zsh?
Thanks a lot :)
Raúl
Messages sorted by:
Reverse Date,
Date,
Thread,
Author