zsh-workers
 help / color / mirror / code / Atom feed
From: Adam Spiers <adam@spiers.net>
To: zsh workers mailing list <zsh-workers@sunsite.auc.dk>
Subject: `jobs | wc -l' => 0 ... bug?
Date: Mon, 26 Mar 2001 16:18:10 +0100	[thread overview]
Message-ID: <20010326161810.C24352@thelonious.new.ox.ac.uk> (raw)

----- Forwarded message from Bostjan Muller <neonatus@neonatus.net> -----

Date: Fri, 23 Mar 2001 18:09:31 +0100
To: Adam Spiers <adam@spiers.net>
Subject: Re: the power of zsh
From: neonatus@neonatus.net (Bostjan Muller)
X-Parp-Accepted: had In-Reply-To: header

[snip]

Only one more thing.. I used to include a command in my prompt, that displayed
the number of background processes running I got the number with the following
command:
jobs | wc -l | tr -d " "
but in zsh wc does not seem to get any input:
$ jobs
[1]  - suspended  mc
[3]  + suspended  mc

$ jobs | wc -l
      0

Where in bash I get this:
$ jobs
[1]-  Stopped                 /usr/bin/mc $*
[2]+  Stopped                 /usr/bin/mc $*

$ jobs | wc -l
      2
----- End forwarded message -----

This is a bug, surely?


             reply	other threads:[~2001-03-26 15:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-26 15:18 Adam Spiers [this message]
2001-03-26 15:29 ` Peter Stephenson
2001-03-26 16:48   ` Bart Schaefer
2001-03-26 17:04     ` Peter Stephenson
2001-03-27 13:13     ` Adam Spiers
2001-03-26 15:33 ` Thomas Köhler
2001-03-27  6:54 Sven Wischnowsky

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=20010326161810.C24352@thelonious.new.ox.ac.uk \
    --to=adam@spiers.net \
    --cc=zsh-workers@sunsite.auc.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).