From: Andrej Borsenkow <borsenkow.msk@sni.de>
To: Alain Caron <alainc@nortel.ca>
Cc: zsh-users@math.gatech.edu
Subject: Re: How to turn sh_word_split on for a single command
Date: Thu, 16 Jan 1997 11:44:16 +0300 (MSK) [thread overview]
Message-ID: <Pine.SV4.3.95.970116113147.21461B-100000@itsrm1.mow.sni.de> (raw)
In-Reply-To: <199701151943.OAA11477@euclid.skiles.gatech.edu>
On 15 Jan 1997, Alain Caron wrote:
>
>
> In my .zprofile, I have to use a command similar to this one in order
> to set-up my environment.
>
> eval `some_command | command_filter`
>
> My problem is that some_command is written for ksh/sh and I do not
> have the sh_word_split option set. This causes the above command to
> fail.
>
> It complains with the following error message:
> zsh: no such file or directory: /usr/bin/X11/resize -u
> which is clearly because of the sh_word_split option unset.
>
Hmmm ...
% echo $ZSH_VERSION
3.1.0
% unsetopt | grep shwordsplit
shwordsplit
% cat =foo
#!/sbin/zsh
echo 'ls -x'
% eval `foo`
... output of ls -x follows ...
Could you be more specific about your command? E.g.
% CMD='ls -x'
% eval `$CMD`
zsh: command not found: ls -x
greetings
-------------------------------------------------------------------------
Andrej Borsenkow Fax: +7 (095) 252 01 05
SNI ITS Moscow Tel: +7 (095) 252 13 88
NERV: borsenkow.msk E-Mail: borsenkow.msk@sni.de
-------------------------------------------------------------------------
prev parent reply other threads:[~1997-01-16 8:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-01-15 19:27 Alain Caron
1997-01-16 8:44 ` Andrej Borsenkow [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=Pine.SV4.3.95.970116113147.21461B-100000@itsrm1.mow.sni.de \
--to=borsenkow.msk@sni.de \
--cc=alainc@nortel.ca \
--cc=zsh-users@math.gatech.edu \
/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).