From nobody@FreeBSD.org Wed May 28 03:59:10 2008 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCC38106566C for ; Wed, 28 May 2008 03:59:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id A95A78FC0A for ; Wed, 28 May 2008 03:59:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m4S3vX1o087768 for ; Wed, 28 May 2008 03:57:33 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m4S3vXYI087767; Wed, 28 May 2008 03:57:33 GMT (envelope-from nobody) Message-Id: <200805280357.m4S3vXYI087767@www.freebsd.org> Date: Wed, 28 May 2008 03:57:33 GMT From: Hiroshi Fujishima To: freebsd-gnats-submit@FreeBSD.org Subject: [/bin/sh] standard error redirection problem X-Send-Pr-Version: www-3.1 X-GNATS-Notify: >Number: 124057 >Category: bin >Synopsis: sh(1) standard error redirection problem >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 28 04:00:10 UTC 2008 >Closed-Date: Thu Sep 10 19:39:43 UTC 2009 >Last-Modified: Thu Sep 10 19:39:43 UTC 2009 >Originator: Hiroshi Fujishima >Release: 7.0-RELEASE >Organization: >Environment: FreeBSD sea.sakura.ad.jp 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: command not found error can't redirect. % sh -c 'command-not-found 2> /dev/null' command-not-found: not found % bash -c 'command-not-found 2> /dev/null' % zsh -c 'command-not-found 2> /dev/null' work around: % sh -c '( command-not-found ) 2> /dev/null' >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: jilles State-Changed-When: Thu Sep 10 19:39:42 UTC 2009 State-Changed-Why: Duplicate of bin/137659 which has more information. http://www.freebsd.org/cgi/query-pr.cgi?pr=124057 >Unformatted: