Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug report: `> filename` doesn't exit
- X-seq: zsh-workers 38380
- From: "Moore, Brandon A." <moore.3071@xxxxxxxxxxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: Bug report: `> filename` doesn't exit
- Date: Sat, 30 Apr 2016 20:42:22 +0000
- Accept-language: en-US
- Authentication-results: zsh.org; dkim=none (message not signed) header.d=none;zsh.org; dmarc=none action=none header.from=buckeyemail.osu.edu;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=buckeyemailosu.onmicrosoft.com; s=selector1-buckeyemail-osu-edu; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=5rhXZ1z6aQPS81OTjdoPZLZfE3mHsy34wuBaQB/uFLY=; b=lZIxd25AqVB3CGqt0rMgOC+oxsuAgRuKHULof2aHB2OAhAsY2ketRO8BLGUhkl9dIxUo7SOfUfBXUGohw2L6MEvYTwVwYrpxN8mWhzC+P7zrIS6JVOU6tHR/dCMyEWXsdHCDYa7GY/owUSvt9VdR+NhNnn76KwGKdp9bgW8AoOk=
- In-reply-to: <BN3PR0101MB09453FC0E3EA018BB480124AD9670@BN3PR0101MB0945.prod.exchangelabs.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <BN3PR0101MB09453FC0E3EA018BB480124AD9670@BN3PR0101MB0945.prod.exchangelabs.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:23
- Thread-index: AQHRox6rwVup8SsLcUuycTDrEixJ2p+i+uKL
- Thread-topic: Bug report: `> filename` doesn't exit
As a quick addendum to the bug report, the link to the issue on Github is here: https://github.com/robbyrussell/oh-my-zsh/issues/5046. After sending my original email I investigated a bit more and noted that this behaviour may be a feature and not a bug.
Brandon Moore
President
OpenSource Club
2016-2017
________________________________
From: Moore, Brandon A.
Sent: Saturday, April 30, 2016 4:35:17 PM
To: zsh-workers@xxxxxxx
Subject: Bug report: `> filename` doesn't exit
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author