Date: Mon, 22 Nov 2010 22:12:52 GMT From: Harald Hanche-Olsen <hanche@math.ntnu.no> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/152499: Redirections in es may take effect in the shell itself Message-ID: <201011222212.oAMMCqnv038971@red.freebsd.org> Resent-Message-ID: <201011222220.oAMMK8H9051694@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 152499 >Category: ports >Synopsis: Redirections in es may take effect in the shell itself >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 22 22:20:08 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Harald Hanche-Olsen >Release: 8.1-STABLE >Organization: >Environment: FreeBSD shuttle 8.1-STABLE FreeBSD 8.1-STABLE #2: Wed Aug 25 22:10:31 CEST 2010 root@shuttle:/usr/obj/usr/src/sys/GENERIC i386 >Description: In es, redirections in failed commands take effect in the parent shell. >How-To-Repeat: Method 1: Start es, then execute ; foo > bar where foo is an unknown command. The shell's stdout is now redirected to the file bar. Method 2: Start es, then execute ; sleep 60 > bar and then interrupt sleep with Ctrl-C. Again, the shell's stdout is redirected to bar. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011222212.oAMMCqnv038971>