Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Fwd: exec - interactive vs non-interactive shell
- X-seq: zsh-users 16069
- From: "Radoulov, Dimitre" <cichomitiko@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Fwd: exec - interactive vs non-interactive shell
- Date: Wed, 01 Jun 2011 21:55:04 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=VxGx0pFTmG4/cotY63pfJMw/kkFlSPUV1VYMbPyYL+E=; b=wLzxer8eT1adCs2wa95jZBKu7oniXukDiy+PMektE3KqzBe6oUDn1ygu4yhYuJYkEp wUJR9aQAlEDItT84hf/QEP7fBD/KCFMjKF2eaO9HGMubDlaGjGccOwjluRKpc1EaOF1g XZe5nbfAhWlEj0yUM0L5Yk+x31BJJYGMQx8QQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=pAkLZrqPjrp0IHMx9V/t9zaDigRLhhAcmfXdxD+v7o724oAlZClrbIp//tEWqGAzbF gHdR7t/NjpOyVGxNNXccVeG4z6uqY84tbTns+auki8VV/fBoFuWVL1jRLNM0WBN3EoCG BZTDPLwONn1JYfXxAeOY797QrcGSrQo9O99f0=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi all,
could anybody explain what happens here?
zsh-4.3.11[t]% cat a_script
exec cat
ok
zsh-4.3.11[t]%
zsh-4.3.11[t]% zsh< a_script
ok
zsh-4.3.11[t]% zsh -i< a_script
zsh-4.3.11[t]%
No output with -i.
bash does the opposite:
zsh-4.3.11[t]% bash< a_script
zsh-4.3.11[t]% bash -i< a_script
4.2.8(1)-release$ exec cat
ok
zsh-4.3.11[t]%
Best regards
Dimitre
Messages sorted by:
Reverse Date,
Date,
Thread,
Author