From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14603 invoked by alias); 30 Apr 2016 21:04:21 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 38378 Received: (qmail 21401 invoked from network); 30 Apr 2016 21:04:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1462049590; bh=0EUn5eHpLiSX78/fuPWE6PkaOtx6y/jfTnx7isp3Yw4=; h=From:To:In-Reply-To:References:Subject:Date; b=RmPN979Yrw5OQbfGF1ZdJ/OkUzIPsg3FnQooAGvWd0Q9UOLo5WMp0chOa0WJXlsZy AYoPpMJsv2BwOmxiKUpwK2dfdpyDHZmUav/rJiq8nw4egPpxG5g/lbf1Ixh+62bicF pfypoI1M4cauzwBfGi+6h+1nUp5NugEbyxC41FLM= From: "Nikolay Aleksandrovich Pavlov (ZyX)" To: "Moore, Brandon A." , "zsh-workers@zsh.org" In-Reply-To: References: Subject: Re: Bug report: `> filename` doesn't exit MIME-Version: 1.0 Message-Id: <1641191462049589@web7h.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Sat, 30 Apr 2016 23:53:09 +0300 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 30.04.2016, 23:50, "Moore, Brandon A." : > I am uncertain if the mailling list is the correct spot for a bug report. Feel free to notify me if it is not, but note that I am not on the mailing list. > > Bug description: > > A user noted on 'oh-my-zsh's Github that the shorthand `> filename` will create a file by the given filename (or empty said file if it already exists) as it does in most shells, but it does not exit. This leads to the user needing to terminate said command with c-C or c-D. This is atypical compared to other shells that will execute this command and go to the next line. > > Reproducing the bug: > > run `$ > file` > > p.s. please note that I personally do not use or suggest using this as a shortcut for the touch command, and am simply passing on this bug on behalf of the user who reported it. > > Sincerely, > > Brandon Moore > > President > > OpenSource Club > > 2016-2017 Unable to reproduce. Running `$ > file` creates `file` and fails with “zsh: command not found: $”. Zsh version 5.2.