From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25551 invoked from network); 26 Mar 2001 15:18:17 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 26 Mar 2001 15:18:17 -0000 Received: (qmail 17334 invoked by alias); 26 Mar 2001 15:18:10 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13774 Received: (qmail 17321 invoked from network); 26 Mar 2001 15:18:09 -0000 Date: Mon, 26 Mar 2001 16:18:10 +0100 From: Adam Spiers To: zsh workers mailing list Subject: `jobs | wc -l' => 0 ... bug? Message-ID: <20010326161810.C24352@thelonious.new.ox.ac.uk> Reply-To: Adam Spiers Mail-Followup-To: zsh workers mailing list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Home-Page: http://www.new.ox.ac.uk/~adam/ X-OS: RedHat Linux ----- Forwarded message from Bostjan Muller ----- Date: Fri, 23 Mar 2001 18:09:31 +0100 To: Adam Spiers 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?