From: Borsenkow Andrej <Andrej.Borsenkow@mow.siemens.ru>
To: Oliver Kiddle <okiddle@yahoo.co.uk>
Cc: "Björn Johannesson" <d00bjojo@dtek.chalmers.se>, zsh-users@sunsite.dk
Subject: Re: zsh: Strange feature with 'jobs' commmand
Date: Thu, 30 May 2002 16:37:54 +0400 (MSD) [thread overview]
Message-ID: <Pine.SV4.4.44.0205301632500.21658-100000@itsrm2.mow.siemens.ru> (raw)
In-Reply-To: <E17DOqs-0001J4-00@bimbo.logica.co.uk>
On Thu, 30 May 2002, Oliver Kiddle wrote:
>
> Incidentally, I think bash special cases the jobs builtin and would
> run less in a subshell in this case instead. Could we do something like
> this in zsh?
>
IIRC bash runs right part of every pipe in subshell. We run left pipe.
This makes it possible to do something like
foo | read FOO_RESULT
that assigns return value of foo to FOO_RESULT. It does not work in bash.
Just how useful (often used) this feature is is different qustion :-)
Anyway, I am afraid, changing it requires quite a major rewrite. And in
current zsh you have jobstates and jobtexts arrays that make 'jobs | less'
hardly ever needed.
-andrej
next prev parent reply other threads:[~2002-05-30 12:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-30 11:54 Björn Johannesson
2002-05-30 12:16 ` Oliver Kiddle
2002-05-30 12:37 ` Borsenkow Andrej [this message]
2002-05-30 15:36 ` Phil Pennock
2002-05-30 12:33 ` $jobstates (Re: zsh: Strange feature with 'jobs' commmand) Thomas Köhler
2002-05-30 12:48 ` Sven Wischnowsky
2002-05-30 13:25 ` Thomas Köhler
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.4.44.0205301632500.21658-100000@itsrm2.mow.siemens.ru \
--to=andrej.borsenkow@mow.siemens.ru \
--cc=d00bjojo@dtek.chalmers.se \
--cc=okiddle@yahoo.co.uk \
--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).