Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
`jobs | wc -l' => 0 ... bug?
- X-seq: zsh-workers 13774
- From: Adam Spiers <adam@xxxxxxxxxx>
- To: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Subject: `jobs | wc -l' => 0 ... bug?
- Date: Mon, 26 Mar 2001 16:18:10 +0100
- Mail-followup-to: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
----- Forwarded message from Bostjan Muller <neonatus@xxxxxxxxxxxx> -----
Date: Fri, 23 Mar 2001 18:09:31 +0100
To: Adam Spiers <adam@xxxxxxxxxx>
Subject: Re: the power of zsh
From: neonatus@xxxxxxxxxxxx (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?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author