zsh-users
 help / color / mirror / code / Atom feed
* Fwd: exec - interactive vs non-interactive shell
@ 2011-06-01 19:55 Radoulov, Dimitre
  2011-06-01 20:42 ` Peter Stephenson
  0 siblings, 1 reply; 5+ messages in thread
From: Radoulov, Dimitre @ 2011-06-01 19:55 UTC (permalink / raw)
  To: zsh-users


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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-06-02  9:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-01 19:55 Fwd: exec - interactive vs non-interactive shell Radoulov, Dimitre
2011-06-01 20:42 ` Peter Stephenson
2011-06-01 22:03   ` Radoulov, Dimitre
2011-06-02  8:59     ` Peter Stephenson
2011-06-02  9:37       ` Radoulov, Dimitre

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).