From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1509 invoked from network); 2 Jul 2004 12:48:35 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.85) by ns1.primenet.com.au with SMTP; 2 Jul 2004 12:48:35 -0000 Received: (qmail 9752 invoked from network); 2 Jul 2004 14:00:52 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 2 Jul 2004 14:00:52 -0000 Received: (qmail 14319 invoked by alias); 2 Jul 2004 12:47:51 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7659 Received: (qmail 14309 invoked from network); 2 Jul 2004 12:47:51 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.85) by sunsite.dk with SMTP; 2 Jul 2004 12:47:51 -0000 Received: (qmail 8799 invoked from network); 2 Jul 2004 14:00:27 -0000 Received: from vinc17.net1.nerim.net (HELO ay.vinc17.org) (62.4.18.82) by a.mx.sunsite.dk with SMTP; 2 Jul 2004 14:00:14 -0000 Received: from lefevre by ay.vinc17.org with local (Exim 4.32) id 1BgNRe-0006DP-TL; Fri, 02 Jul 2004 14:47:10 +0200 Date: Fri, 2 Jul 2004 14:47:10 +0200 From: Vincent Lefevre To: zsh-users@sunsite.dk Subject: Background jobs and notification (stdout vs stderr) Message-ID: <20040702124710.GT2033@ay.vinc17.org> Mail-Followup-To: zsh-users@sunsite.dk Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.6i Sender: Vincent Lefevre X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=BAYES_50 autolearn=no version=2.63 X-Spam-Hits: 0.0 Let's consider: greux:~> sleep 2& [1] 20823 greux:~> [1] + done sleep 2 greux:~> The "[1] 20823" line is sent to stderr, whereas the "[1] + done ..." line is sent to stdout (I could see that with the coloring of stderr). Is there any reason? -- Vincent Lefèvre - Web: 100% validated (X)HTML - Acorn / RISC OS / ARM, free software, YP17, Championnat International des Jeux Mathématiques et Logiques, etc. Work: CR INRIA - computer arithmetic / SPACES project at LORIA